Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

5.7 MB
Raw Blame
{"id":"so-48869795","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48869795/difference-between-a-field-and-the-field-keyword","posted_at":"2018-02-19T15:59:31.000Z","captured_at":"2026-04-14T13:23:53.496Z","author":"tomak","score":125,"kind":"question","title":"difference between a field and the field.keyword","body":"If I add a document with several fields to an Elasticsearch index, when I view it in Kibana, I get each time the same field twice. One of them will be called\n\nsome_field\n\n\nand the other one will be called \n\nsome_field.keyword\n\n\nWhere does this behaviour come from and what is the difference between both of them?\n\nPS: one of them is aggregatable (not sure what that means) and the other (without keyword) is not.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":95484,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-35474441","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35474441/how-to-know-elastic-search-installed-version-from-kibana","posted_at":"2016-02-18T06:33:01.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Shantesh","score":98,"kind":"question","title":"How to know elastic search installed version from kibana?","body":"Currently I am getting these alerts:  \n\n\n  Upgrade Required Your version of Elasticsearch is too old. Kibana requires Elasticsearch 0.90.9 or above.\n\n\nCan someone tell me if there is a way I can find the exact installed version of ELS?","product":["kibana"],"versions":[],"lang":"en","answer_count":13,"view_count":215101,"accepted":true,"category":"09-upgrades-and-migration","secondary_categories":["07-alerting-and-watcher","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-29671524","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29671524/kibana-how-to-display-log-as-table","posted_at":"2015-04-16T10:08:10.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"CyrilleGuimezanes","score":91,"kind":"question","title":"Kibana - How to display log as table","body":"I'm testing Kibana 4 for a project.\n\nI have created an index from my database table which is composed by 3 fields:\n\n\nDate\nUser\nAction\n\n\nI would like to display my index as a simple table (3 column, N rows) in my dashboard. \n\nI tried to use \"Data table\" visualization but I can't find a way to display my results without any Metrics (Count, Sum etc...) \n\nMaybe is pretty simple and I missed something... is there a way to do this? \n\nRegards,","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":91519,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-19102220","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/19102220/how-to-retrieve-unique-count-of-a-field-using-kibana-elastic-search","posted_at":"2013-09-30T19:28:12.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Afsheen Khosravian","score":79,"kind":"question","title":"How to retrieve unique count of a field using Kibana + Elastic Search","body":"Is it possible to query for a distinct/unique count of a field using Kibana? I am using elastic search as my backend to Kibana. \n\nIf so, what is the syntax of the query? Heres a link to the Kibana interface I would like to make my query: http://demo.kibana.org/#/dashboard\n\nI am parsing nginx access logs with logstash and storing the data into elastic search.  Then, I use Kibana to run queries and visualize my data in charts.  Specifically, I want to know the count of unique IP addresses for a specific time frame using Kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":7,"view_count":153900,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-34792146","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34792146/export-to-csv-excel-from-kibana","posted_at":"2016-01-14T14:33:38.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"jsp","score":76,"kind":"question","title":"Export to csv/excel from kibana","body":"I am building a proof of concept using Elasticsearch Logstash and Kibana for one of my projects. I have the dashboard with the graphs working without any issue. One of the requirements for my project is the ability to download the file(csv/excel). \nIn kibana the only option i saw for downloading the file is by clicking on edit button on the visualization created. Is it possible to add a link on the dashboard that would allow users to download the file without going into the edit mode. And secondly I would like to disable/hide the edit mode for anyone other than me who views the dashboard.\nThanks","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":233579,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["06-sharing-and-export","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-31385530","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31385530/how-to-list-unique-values-of-a-particular-field-in-kibana","posted_at":"2015-07-13T14:03:20.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"tushan","score":74,"kind":"question","title":"How to list unique values of a particular field in Kibana","body":"I am having a field named rpc in my elasticsearch database and I am displaying it using Kibana. When I search in search bar of kibana like:\n\nrpc:*\n\n\nIt display all the values of rpc field but I want to have only those value to be displayed which are unique.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":177643,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-28265717","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28265717/worker-connections-are-not-enough","posted_at":"2015-02-01T17:43:28.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"dReAmEr","score":71,"kind":"question","title":"worker_connections are not enough","body":"I am trying access kibana application deployed in nginx,but getting below \n\nURL :- http://127.0.0.1/kibana-3.1.2\n\n2015/02/01 23:05:05 [alert] 3919#0: *766 768 worker_connections are not enough while connecting to upstream, client: 127.0.0.1, server: , request: \"GET /kibana-3.1.2 HTTP/1.0\", upstream: \"http://127.0.0.1:80/kibana-3.1.2\", host: \"127.0.0.1\"\n\n\nKibana is deployed at /var/www/kibana-3.1.2\n\nI have tried to increase the worker_connections,but still no luck,getting below in this case.\n\n2015/02/01 23:02:27 [alert] 3802#0: accept4() failed (24: Too many open files)\n2015/02/01 23:02:27 [alert] 3802#0: accept4() failed (24: Too many open files)\n2015/02/01 23:02:27 [alert] 3802#0: accept4() failed (24: Too many open files)\n2015/02/01 23:02:27 [alert] 3802#0: accept4() failed (24: Too many open files)\n2015/02/01 23:02:27 [alert] 3802#0: accept4() failed (24: Too many open files)\n\n\nnginx.conf :- \n\nuser www-data;\nworker_processes 4;\npid /var/run/nginx.pid;\n\nevents {\n        worker_connections 768;\n        # multi_accept on;\n}\n\n\nAnd below in the location directive.\n\nlocation /kibana-3.1.2{\n\n        proxy_set_header X-Real-IP  $remote_addr;\n\n        proxy_set_header X-Forwarded-For $remote_addr;\n\n        proxy_set_header Host $host;\n\n        proxy_pass http://127.0.0.1;\n\n        add_header Access-Control-Allow-Origin *;\n\n        add_header Access-Control-Allow-Headers *;\n       }","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":179085,"accepted":true,"category":"07-alerting-and-watcher","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-27537521","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27537521/how-to-do-where-not-exists-type-filtering-in-kibana-elk","posted_at":"2014-12-18T00:55:21.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Anton Kupias","score":68,"kind":"question","title":"How to do "where not exists" type filtering in Kibana/ELK?","body":"I am using ELK to create dashboards from my log files. I have a log file with entries that contain an id value and a \"success\"/\"failure\" value, displaying whether an operation with a given id succeeded or failed. Each operation/id can fail an unlimited number of times and succeed at most once. In my Kibana dashboard I want to display the count of log entries with a \"failure\" value for each operation id, but I want to filter out cases where a \"success\" log entry for the id exists. i.e. I am only interested in operations that never succeeded. Any hints for tricks that would achieve this?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":113011,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-25720741","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25720741/kibana-query-exact-match","posted_at":"2014-09-08T09:09:08.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"smace","score":67,"kind":"question","title":"Kibana query exact match","body":"I would like to know how to query a field to exactly match a string. \n\nI'm actually trying to query like this:\n\nurl : \"http://www.domain_name.com\"\n\n\nWhich returns all string starting with http://www.domain_name.com .","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":88206,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-38145991","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38145991/how-to-set-fielddata-true-in-kibana","posted_at":"2016-07-01T12:54:33.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"peter.murray.rust","score":66,"kind":"question","title":"how to set fielddata=true in kibana","body":"I am new to Kibana, have data loaded into Elastic 5.0.0-alpha3 and am using Kibana 5.0.0-alpha3 to Visualise. I can display some numeric fields as histograms but when I want to use text fields I get:\n\nVisualize: Fielddata is disabled on text fields by default. Set fielddata=true on [publisher] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory.\n\n\nI am warned that the data (names of Publishers) may have been analyzed into subfields, but I'd like to display anyway.\n\nHow do I set fielddata=true?\n\nEDIT: recent issues on Kibana github suggest that this is a new feature in 5.0.0 and is still awaiting an answer!\n\nEDIT (following @Val's answer, and asking for Elastic newbie help, and hoping others will find it useful). The ingest script was:\n\nfs = require('fs')\n\nvar elasticsearch = require('elasticsearch');\nvar client = new elasticsearch.Client({\n host: 'localhost:9200',\n log: 'trace'\n});\n\nfs.readFile('/Users/pm286/workspace/cmdev/getpapers/20160602/crossref_results.json', (err, data) => {\n  if (err) throw err;\n   document = JSON.parse(data)\n  document = JSON.parse(data)\n\n  for(i=0;i<document.length;i++) {\n      client.create({\n          index: 'index',\n          type: 'type',\n          body: document[i]\n          })\n      }\n  });\n\n\nHow do I include @Val's approach in this?","product":["kibana"],"versions":["5.0.0"],"lang":"en","answer_count":7,"view_count":142379,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-35889565","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35889565/kibana-filter-by-absent-substring","posted_at":"2016-03-09T10:55:28.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"gayavat","score":64,"kind":"question","title":"kibana filter by absent substring","body":"How to make such kind of requests for kibana? \n\nwhere field does not contain substring\n\n\nIt is easy to create filters like field: substring. Neither not \"substring\" or field: not(substring) or field: not(*substring*) work","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":76171,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-29261809","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29261809/elastic-kibana-install-as-windows-service","posted_at":"2015-03-25T16:55:13.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"jhilden","score":57,"kind":"question","title":"Elastic Kibana - install as windows service","body":"How can I install Elastic Kibana (which is just a batch file) as a windows service?\n\nIt probably needs to depend on the ElasticSearch process as well (this assumes I'm running it on the same server)","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":55897,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-31201051","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31201051/elasticsearch-is-still-initializing-the-kibana-index","posted_at":"2015-07-03T07:29:45.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Mangoski","score":55,"kind":"question","title":"Elasticsearch is still initializing the kibana index","body":"When I am trying to start Kibana I am facing the following issue. I first restarted my elasticsearch server it was running successfully. After starting Elasticsearch I tried to start Kibana but no luck.\n\n{\"name\":\"Kibana\",\"hostname\":\"ABCD\",\"pid\":3848,\"level\":30,\"msg\":\"Elasticsearch is still initializing the kibana index... Trying again in 2.5 second.\",\"time\":\"2015-07-03T07:35:34.936Z\",\"v\":0}\n\n\nThanks in advance","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":58143,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-29174649","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29174649/how-do-i-exclude-multiple-terms-in-kibana-4","posted_at":"2015-03-20T19:43:56.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"user1142130","score":53,"kind":"question","title":"How do I exclude multiple terms in Kibana 4","body":"How can I exclude multiple search terms in Kibana 4? If I type in only one term, it excludes it...but how can I have more than one excluded term. For example, the term \"not yet classified\"","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":83463,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-58011088","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58011088/kibana-server-is-not-ready-yet","posted_at":"2019-09-19T12:30:05.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"MoonHorse","score":48,"kind":"question","title":"Kibana server is not ready yet","body":"I have just installed Kibana 7.3 on RHEL 8. The Kibana service is active (running).\n\nI receive Kibana server is not ready yet message when i curl to http://localhost:5601.\nMy Elasticsearch instance is on another server and it is responding with succes to my requests. I have updated the kibana.yml with that\n\n\n  elasticsearch.hosts:[\"http://EXTERNAL-IP-ADDRESS-OF-ES:9200\"]\n\n\ni can reach to elasticsearch from the internet with response:\n\n{\n  \"name\" : \"ip-172-31-21-240.ec2.internal\",\n  \"cluster_name\" : \"elasticsearch\",\n  \"cluster_uuid\" : \"y4UjlddiQimGRh29TVZoeA\",\n  \"version\" : {\n    \"number\" : \"7.3.1\",\n    \"build_flavor\" : \"default\",\n    \"build_type\" : \"rpm\",\n    \"build_hash\" : \"4749ba6\",\n    \"build_date\" : \"2019-08-19T20:19:25.651794Z\",\n    \"build_snapshot\" : false,\n    \"lucene_version\" : \"8.1.0\",\n    \"minimum_wire_compatibility_version\" : \"6.8.0\",\n    \"minimum_index_compatibility_version\" : \"6.0.0-beta1\"\n  },\n  \"tagline\" : \"You Know, for Search\"\n}\n\n\nThe result of the sudo systemctl status kibana:\n\n● kibana.service - Kibana\n   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: disabled)\n   Active: active (running) since Thu 2019-09-19 12:22:34 UTC; 24min ago\n Main PID: 4912 (node)\n    Tasks: 21 (limit: 4998)\n   Memory: 368.8M\n   CGroup: /system.slice/kibana.service\n           └─4912 /usr/share/kibana/bin/../node/bin/node --no-warnings --max-http-header-size>\n\nSep 19 12:46:42 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0>\nSep 19 12:46:42 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0>\nSep 19 12:46:43 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0>\nSep 19 12:46:43 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0>\nSep 19 12:46:43 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0>\nSep 19 12:46:44 ip-172-31-88-39.ec2.internal kibana[4912]: {\"type\":\"log\",\"@timestamp\":\"2019-0\n\n\n\n  the result of \"sudo journalctl --unit kibana\"\n\n\nSep 19 06:03:53 ip-172-31-88-39.ec2.internal kibana[1356]: {\"type\":\"log\",\"@timestamp\":\"2019-09-19T06:03:53Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1356,\"message\":\"Unable to revive >\nSep 19 06:03:53 ip-172-31-88-39.ec2.internal kibana[1356]: {\"type\":\"log\",\"@timestamp\":\"2019-09-19T06:03:53Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1356,\"message\":\"No living connect>\nSep 19 06:03:53 ip-172-31-88-39.ec2.internal kibana[1356]: {\"type\":\"log\",\"@timestamp\":\"2019-09-19T06:03:53Z\",\"tags\":[\"warning\",\"task_manager\"],\"pid\":1356,\"message\":\"PollError No Living connec>\nSep 19 06:03:53 ip-172-31-88-39.ec2.internal kibana[1356]: {\"type\":\"log\",\"@timestamp\":\"2019-09-19T06:03:53Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1356,\"message\":\"Unable to revive >\nSep 19 06:03:53 ip-172-31-88-39.ec2.internal kibana[1356]: {\"type\":\"log\",\"@timestamp\":\"2019-09-19T06:03:53Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1356,\"message\":\"No living connect>\n\n\nDo you have any idea where the problem is?","product":["kibana"],"versions":["7.3","7.3.1","8.1.0","6.8.0"],"lang":"en","answer_count":17,"view_count":224473,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-33303786","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33303786/where-does-elasticsearch-store-its-data","posted_at":"2015-10-23T13:39:27.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"sliders_alpha","score":46,"kind":"question","title":"Where does Elasticsearch store its data?","body":"So I have this Elasticsearch installation, in insert data with logstash, visualize them with kibana.\nEverything in the conf file is commented, so it's using the default folders which are relative to the elastic search folder.\n1/ I store data with logstash\n2/ I look at them with kibana\n3/ I close the instance of elastic seach, kibana and logstash\n4/ I DELETE their folders\n5/ I re-extract everything and reconfigure them\n6/ I go into kibana and the data are still there\n\nHow is this possible?\nThis command will however delete the data : curl -XDELETE 'http://127.0.0.1:9200/_all'\nThanks.\nps : forgot to say that I'm on windows","product":["kibana"],"versions":[],"lang":"en","answer_count":7,"view_count":102314,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-17210184","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/17210184/what-are-the-main-differences-between-graylog2-and-kibana","posted_at":"2013-06-20T09:32:16.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Sebastien Lorber","score":46,"kind":"question","title":"What are the main differences between Graylog2 and Kibana","body":"What are the main differences between Graylog2 and Kibana?\n\nWe already use Graylog2 but I must admit I don't really like the UI. \nJust wonder in case it may be helpful to switch to Kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":39167,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-26303899","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26303899/how-to-add-a-numeric-filter-on-kibana-dashboard","posted_at":"2014-10-10T16:25:30.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"user1742188","score":43,"kind":"question","title":"How to add a numeric filter on kibana dashboard?","body":"I have a field that contains numbers. I want a filter that shows all logs that are less than a constant value. \nWhen I try to add a new query filter, all I can see is a query string option.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":47532,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-31682059","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31682059/kibana-how-to-export-search-results","posted_at":"2015-07-28T16:26:26.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"MachineShedFred","score":43,"kind":"question","title":"Kibana - how to export search results","body":"We've recently moved our centralized logging from Splunk to an ELK solution, and we have a need to export search results - is there a way to do this in Kibana 4.1? If there is, it's not exactly obvious.\nThanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":8,"view_count":83961,"accepted":true,"category":"06-sharing-and-export","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-30138936","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30138936/how-to-set-authentication-in-kibana","posted_at":"2015-05-09T10:42:20.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Mangoski","score":43,"kind":"question","title":"How to set authentication in kibana","body":"Is it possible to enable authentication in Kibana in order to restrict access to a dashboard to only be accessible to particular users?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":83666,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["08-spaces-and-rbac"],"sentiment":"neutral","tags":[]}
{"id":"so-40635566","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40635566/cant-install-sense-plugin-for-kibana","posted_at":"2016-11-16T15:10:03.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"David Geismar","score":39,"kind":"question","title":"Can&#39;t install sense plugin for Kibana","body":"I am trying to install sense plugin for elasticsearch/kibana.\nI have successfully installed Kibana but when following the instruction on https://www.elastic.co/guide/en/sense/current/installing.html\nI type :\n./kibana plugin --install elastic/sense, on the bin directory inside kibana folder, and I get :\n\n ERROR  unknown command plugin\n\n  Usage: bin/kibana [command=serve] [options]\n\n  Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch.\n\n  Commands:\n    serve  [options]  Run the kibana server\n    help  <command>   Get the help for a specific command\n\n  \"serve\" Options:\n\n    -h, --help                 output usage information\n    -e, --elasticsearch <uri>  Elasticsearch instance\n    -c, --config <path>        Path to the config file, can be changed with the CONFIG_PATH environment variable as well. Use mulitple --config args to include multiple config files.\n    -p, --port <port>          The port to bind to\n    -q, --quiet                Prevent all logging except errors\n    -Q, --silent               Prevent all logging\n    --verbose                  Turns on verbose logging\n    -H, --host <host>          The host to bind to\n    -l, --log-file <path>      The file to log to\n    --plugin-dir <path>        A path to scan for plugins, this can be specified multiple times to specify multiple directories\n    --plugin-path <path>       A path to a plugin which should be included by the server, this can be specified multiple times to specify multiple paths\n    --plugins <path>           an alias for --plugin-dir\n\n\nI can't figure out why I get this error, how can I install sense plugin then ?","product":["kibana"],"versions":[],"lang":"en","answer_count":6,"view_count":18045,"accepted":false,"category":"15-plugin-and-ecosystem","secondary_categories":["04-performance-and-load","01-dashboard-authoring","10-docs-and-ux"],"sentiment":"negative","tags":["license"]}
{"id":"so-24502190","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24502190/how-to-to-log-js-errors-from-a-client-into-kibana","posted_at":"2014-07-01T03:50:22.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Erik","score":38,"kind":"question","title":"How to to log JS errors from a client into kibana?","body":"I have web application backed end in NodeJS and logstash/elasticsearch/kibana to handle system logs like (access_error.log, messages.log etc).\n\nRight now I need to record all JavaScript client side errors into kibana also. What is the best way to do this?\n\nEDIT: I have to add additional information to this question. As @Jackie Xu provide partial solution to my problem and as follows from my comment:\n\n\n  I'm most interested in realizing server-side error handling. I think it's not effective write each error into file. I'm looking for best practices how to make it more performance.\n\n\nI need to handle js error records on server-side more effective than just write into file. May you provide some scenarios how could I increase server-side logging performance?","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":37791,"accepted":true,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-63880017","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63880017/elasticsearch-docker-flood-stage-disk-watermark-95-exceeded","posted_at":"2020-09-14T07:40:23.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Stimmot","score":37,"kind":"question","title":"Elasticsearch Docker: flood stage disk watermark [95%] exceeded","body":"I have a problem with my Elasticsearch nodes running in a docker environment. I'm starting them up with docker-compose and after a few minutes they tell me:\nflood stage disk watermark [95%] exceeded\nI'm running it on a cluster with rather high storage capacity and I already tried to increase the watermark settings in the elasticsearch.yml file, but I still get the error. Maybe it has to do with the size of the docker containers.\nDoes anyone know what could be the problem? Any help is much appreciated.\nThe docker-compose.yml for reference:\nversion: '3.4'\nservices:\n  es01:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1\n    container_name: es01\n    environment:\n      #- discovery.type=single-node\n      - node.name=es01\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es02,es03\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - xpack.security.enabled=false\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data01:/usr/share/elasticsearch/data\n    ports:\n      - 9200:9200\n    networks:\n      - elastic\n\n  es02:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1\n    container_name: es02\n    environment:\n      - node.name=es02\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es01,es03\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data02:/usr/share/elasticsearch/data\n    networks:\n      - elastic\n\n  es03:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1\n    container_name: es03\n    environment:\n      - node.name=es03\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es01,es02\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data03:/usr/share/elasticsearch/data\n    networks:\n      - elastic\n\n  kib01:\n    image: docker.elastic.co/kibana/kibana:7.8.1\n    container_name: kib01\n    depends_on:\n      - es01\n      - es02\n      - es03\n    ports:\n      - 5601:5601\n    environment:\n      ELASTICSEARCH_URL: http://es01:9200\n      ELASTICSEARCH_HOSTS: http://es01:9200\n    networks:\n      - elastic\n\n  client:\n    image: appropriate/curl:latest\n    depends_on:\n      - es01\n      - es02\n      - es03\n    networks:\n      - elastic\n    command: sh -c \"curl es01:9200 && curl kib01:5601\"\n\n  dash_app:\n    build: .\n    ports:\n    - 0.0.0.0:8050:8050\n    depends_on:\n      - es01\n      - es02\n      - es03\n      - kib01\n    networks:\n      - elastic\n\n#mapping:\n#  image: appropriate/curl:latest\n#  depends_on:\n#    - es01\n#    - es02\n#    - es03\n#  networks:\n#    - elastic\n#  command:    \"curl -v -XPUT 'es01:9200/urteile' -H 'Content-Type: application/json' -d '\n#       {\n#         'mappings': {\n#           'properties': {\n#             'date': {\n#               'type': 'date'\n#             }\n#           }\n#         }\n#       }\n#    '\"\n\n  #web:\n   # build: .\n   # ports:\n    #  - 8000:8000\n    #depends_on:\n    #  - es01\n    #  - es02\n    #  - es03\n    #networks:\n    #  - elastic\n\n\nvolumes:\n  data01:\n    driver: local\n  data02:\n    driver: local\n  data03:\n    driver: local\n\nnetworks:\n  elastic:\n    driver: bridge\n\nAnd docker info:\nServer:\n Containers: 6\n  Running: 3\n  Paused: 0\n  Stopped: 3\n Images: 185\n Server Version: 19.03.12\n Storage Driver: overlay\n  Backing Filesystem: extfs\n  Supports d_type: true\n Logging Driver: json-file\n Cgroup Driver: cgroupfs\n Plugins:\n  Volume: local\n  Network: bridge host ipvlan macvlan null overlay\n  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog\n Swarm: inactive\n Runtimes: runc nvidia\n Default Runtime: runc\n Init Binary: docker-init\n containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429\n runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd\n init version: fec3683\n Security Options:\n  seccomp\n   Profile: default\n Kernel Version: 5.7.2-kd-cluster\n Operating System: Debian GNU/Linux 9 (stretch)\n OSType: linux\n Architecture: x86_64\n CPUs: 32\n Total Memory: 125.8GiB\n Name: dpl01\n ID: KBGO:2E6L:NIHR:UQAL:K5CN:XWBI:R7TK:WWZF:MZBT:BCHE:HUQW:UKKM\n Docker Root Dir: /data/docker\n Debug Mode: false\n Registry: https://index.docker.io/v1/\n Labels:\n Experimental: false\n Insecure Registries:\n  127.0.0.0/8\n Live Restore Enabled: false","product":["kibana"],"versions":["7.8.1","19.03.12","5.7.2"],"lang":"en","answer_count":5,"view_count":37255,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","04-performance-and-load","05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-22048179","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22048179/location-of-custom-kibana-dashboards-in-elasticsearch","posted_at":"2014-02-26T17:00:22.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"ecbrodie","score":37,"kind":"question","title":"Location of custom Kibana dashboards in ElasticSearch","body":"I know for a fact that saved Kibana dashboards (ie, the JSON file of the dashboard) are saved in OR associated to a particular ElasticSearch instance. If I were to save my Kibana instance when attached to one server hosting ElasticSearch and I were to switch my ElasticSearch server to another address, I would lose my saved dashboard. But, if I were to switch back to the original server address, I will get the saved dashboard back.\n\nMy question, thus, is where exactly in the elasticsearch installation directory are the dashboards saved. I would rather be able to run a script to automatically load my pre-created Kibana dashboards than be forced to copy/paste JSON through the web console every time I start up a new ElasticSearch instance.\n\nThank you for the help.\n\nUPDATE\n\nAccording to this Google Groups post, the dashboards are saved into the kibana-int _index with a _type of dashboard and an _id of what I named the . So, to save my dashboards into new ElasticSearch instances, do I just need to execute a PUT into this _index through CURL? Is there a better way to do this?","product":["kibana"],"versions":[],"lang":"en","answer_count":7,"view_count":55152,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-26828099","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26828099/kibana-returns-connection-failed","posted_at":"2014-11-09T12:22:31.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"m0fo","score":36,"kind":"question","title":"Kibana returns &quot;Connection Failed&quot;","body":"I am trying to run ElasticSearch with Kibana in Windows 2008 R2.\n\nI followed this article: Install-logstash-on-a-windows-server-with-kibana\n\nStep by step, but all I get is:\n\nConnection Failed\nPossibility #1: Your elasticsearch server is down or unreachable\n\nThis can be caused by a network outage, or a failure of the Elasticsearch process. If you have recently run a query that required a terms facet to be executed it is possible the process has run out of memory and stopped. Be sure to check your Elasticsearch logs for any sign of memory pressure.\nPossibility #2: You are running Elasticsearch 1.4 or higher\n\nElasticsearch 1.4 ships with a security setting that prevents Kibana from connecting. You will need to set http.cors.allow-origin in your elasticsearch.yml to the correct protocol, hostname, and port (if not 80) that your access Kibana from. Note that if you are running Kibana in a sub-url, you should exclude the sub-url path and only include the protocol, hostname and port. For example, http://mycompany.com:8080, not http://mycompany.com:8080/kibana.\nClick back, or the home button, when you have resolved the connection issue\n\n\nWhen I go to \n\nhttp://XXX.XXX.XXX.XXX:9200/\n\n\nI get:\n\n{\n  \"status\" : 200,\n  \"name\" : \"Benazir Kaur\",\n  \"cluster_name\" : \"elasticsearch\",\n  \"version\" : {\n    \"number\" : \"1.4.0\",\n    \"build_hash\" : \"bc94bd81298f81c656893ab1ddddd30a99356066\",\n    \"build_timestamp\" : \"2014-11-05T14:26:12Z\",\n    \"build_snapshot\" : false,\n    \"lucene_version\" : \"4.10.2\"\n  },\n  \"tagline\" : \"You Know, for Search\"\n}\n\n\nSo it seems that the ElasticSearch is running, but for some reason the Kibana cannot connect to it.\n\nThe ElasticSearch logs contains an error:\n\n[2014-11-08 13:02:41,474][INFO ][node                     ] [Virako] version[1.4.0], pid[5556], build[bc94bd8/2014-11-05T14:26:12Z]\n[2014-11-08 13:02:41,490][INFO ][node                     ] [Virako] initializing ...\n[2014-11-08 13:02:41,490][INFO ][plugins                  ] [Virako] loaded [], sites []\n[2014-11-08 13:02:46,872][INFO ][node                     ] [Virako] initialized\n[2014-11-08 13:02:46,872][INFO ][node                     ] [Virako] starting ...\n[2014-11-08 13:02:47,402][INFO ][transport                ] [Virako] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.14:9300]}\n[2014-11-08 13:02:47,558][INFO ][discovery                ] [Virako] elasticsearch/XyAjXnofTnG1CXgDoHrNsA\n[2014-11-08 13:02:51,412][INFO ][cluster.service          ] [Virako] new_master [Virako][XyAjXnofTnG1CXgDoHrNsA][test04][inet[/192.168.0.14:9300]], reason: zen-disco-join (elected_as_master)\n[2014-11-08 13:02:51,521][INFO ][gateway                  ] [Virako] recovered [0] indices into cluster_state\n[2014-11-08 13:02:51,552][INFO ][http                     ] [Virako] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.14:9200]}\n[2014-11-08 13:02:51,552][INFO ][node                     ] [Virako] started\n[2014-11-08 13:11:04,781][WARN ][transport.netty          ] [Virako] exception caught on transport layer [[id: 0x3984a6b4, /192.168.0.14:58237 => /192.168.0.14:9300]], closing connection\njava.io.StreamCorruptedException: invalid internal transport message format, got (47,45,54,20)\n    at org.elasticsearch.transport.netty.SizeHeaderFrameDecoder.decode(SizeHeaderFrameDecoder.java:47)\n    at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)\n    at org.elasticsearch.common.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)\n    at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)\n    at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\n    at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)\n    at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)\n    at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\n    at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)\n    at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)\n    at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)\n    at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)\n    at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)\n    at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)\n    at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)\n    at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)\n    at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)\n    at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n    at java.lang.Thread.run(Thread.java:745)\n\n\nAny idea what am I doing wrong?","product":["kibana"],"versions":["10.2"],"lang":"en","answer_count":2,"view_count":33866,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","12-maps-and-geo"],"sentiment":"negative","tags":["oom"]}
{"id":"so-22053926","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22053926/how-do-i-create-a-stacked-graph-of-http-codes-in-kibana","posted_at":"2014-02-26T21:38:31.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"user898699","score":35,"kind":"question","title":"How do I create a stacked graph of HTTP codes in Kibana?","body":"I'm sending HTTP logs into Kibana, and the response code (200, 401, 500, etc) are correctly parsed out of them as a field. I'd like a time-series chart with the count of each code shown as bars stacked on top of each other in each interval, in different colors. This should help see if there are suddenly more 500 errors, for example.\n\nI'm having a hard time figuring out how to create such a chart in Kibana. Is this possible?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":34915,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-40341346","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40341346/kibana-on-docker-cannot-connect-to-elasticsearch","posted_at":"2016-10-31T11:33:29.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Gunith D","score":35,"kind":"question","title":"Kibana on Docker cannot connect to Elasticsearch","body":"I tried to create Kibana and Elasticsearch and it seems that Kibana is having trouble identifying Elasticsearch.\n\nHere are my steps:\n\n1) Create network \n\ndocker network create mynetwork --driver=bridge\n\n\n2) Run Elasticsearch Container\n\ndocker run -d -p 9200:9200 -p 9300:9300 --name elasticsearch_2_4 --network mynetwork elasticsearch:2.4\n\n\n3) Run Kibana Container\n\ndocker run -i --network mynetwork -p 5601:5601 kibana:4.6\n\n\nI get a JSON output when I connect to Elasticsearch via http://localhost:9200/ through my browser.\n\nBut when I open http://localhost:5601/ I get \n\nUnable to connect to Elasticsearch at http://elasticsearch:9200.\n\n\nAlternate Approach,\n\nI still get a similar error when I try\n\ndocker run -d -e ELASTICSEARCH_URL=http://127.0.0.1:9200 -p 5601:5601 kibana:4.6\n\n\nwhere I get the error\n\nUnable to connect to Elasticsearch at http://127.0.0.1:9200.\n\n\n\n\nMy blog post based on the accepted answer: https://gunith.github.io/docker-kibana-elasticsearch/","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":29302,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-29810531","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29810531/elasticsearch-kibana-errors-data-too-large-data-for-timestamp-would-be-la","posted_at":"2015-04-22T23:05:27.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"spuder","score":33,"kind":"question","title":"elasticsearch / kibana errors &quot;Data too large, data for [@timestamp] would be larger than limit","body":"On my test ELK cluster, I'm encountering the following error when trying to see data from the last week. \n\nData too large, data for [@timestamp] would be larger than limit\n\n\nThe warning about shards failing appears to be misleading because the elasticsearch monitoring tools kopf and head show that all shards are working properly, and the elastic cluster is green. \n\n\n\nOne user in the google group for elasticsearch suggested increasing ram. I've increased my 3 nodes to 8GB each with a 4.7GB heap, but the issue continues. \nI'm generating about 5GB to 25GB of data per day, with a 30 day retention.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":46155,"accepted":false,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-42514737","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42514737/kibana-search-within-text-for-string","posted_at":"2017-02-28T17:06:27.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"A_Elric","score":33,"kind":"question","title":"Kibana: Search within text for string","body":"I have A log message in Kibana that contains this:\n\norg.hibernate.exception.GenericJDBCException: Cannot open connection\nat org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:597)\n\n\nActual search that isn't returning results: log_message: \"hibernate3\"\n\nIf I search for \"hibernate3\" this message will not appear.  I am using an Elasticsearch template and have indexed the field, but also want to be able to do case-insensitive full-text searching.   Is this possible?\n\nTemplate that is in use:\n\n{\n\"template\": \"filebeat-*\",\n\"mappings\": {\n    \"mainProgram\": {\n        \"properties\": {\n            \"@timestamp\": {\n                \"type\": \"date\",\n                \"format\": \"strict_date_optional_time||epoch_millis\"\n            },\n            \"@version\": {\n                \"type\": \"text\"\n            },\n            \"beat\": {\n                \"properties\": {\n                    \"hostname\": {\n                        \"type\": \"text\"\n                    },\n                    \"name\": {\n                        \"type\": \"text\"\n                    }\n                }\n            },\n            \"class_method\": {\n                \"type\": \"text\",\n                \"fielddata\": \"true\",\n                \"index\": \"true\"\n            },\n            \"class_name\": {\n                \"type\": \"text\",\n                \"fielddata\": \"true\"\n            },\n            \"clientip\": {\n                \"type\": \"ip\",\n                \"index\": \"not_analyzed\"\n            },\n            \"count\": {\n                \"type\": \"long\"\n            },\n            \"host\": {\n                \"type\": \"text\",\n                \"index\": \"not_analyzed\"\n            },\n            \"input_type\": {\n                \"type\": \"text\",\n                \"index\": \"not_analyzed\"\n            },\n            \"log_level\": {\n                \"type\": \"text\",\n                \"fielddata\": \"true\",\n                \"index\": \"true\"\n            },\n            \"log_message\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"log_timestamp\": {\n                \"type\": \"text\"\n            },\n            \"log_ts\": {\n                \"type\": \"long\",\n                \"index\": \"not_analyzed\"\n            },\n            \"message\": {\n                \"type\": \"text\"\n            },\n            \"offset\": {\n                \"type\": \"long\",\n                \"index\": \"not_analyzed\"\n            },\n            \"query_params\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"sessionid\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"source\": {\n                \"type\": \"text\",\n                \"index\": \"not_analyzed\"\n            },\n            \"tags\": {\n                \"type\": \"text\"\n            },\n            \"thread\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"type\": {\n                \"type\": \"text\"\n            },\n            \"user_account_combo\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"version\": {\n                \"type\": \"text\"\n            }\n        }\n    },\n    \"access\": {\n        \"properties\": {\n            \"@timestamp\": {\n                \"type\": \"date\",\n                \"format\": \"strict_date_optional_time||epoch_millis\"\n            },\n            \"@version\": {\n                \"type\": \"text\"\n            },\n            \"beat\": {\n                \"properties\": {\n                    \"hostname\": {\n                        \"type\": \"text\"\n                    },\n                    \"name\": {\n                        \"type\": \"text\"\n                    }\n                }\n            },\n            \"clientip\": {\n                \"type\": \"ip\",\n                \"index\": \"not_analyzed\"\n            },\n            \"count\": {\n                \"type\": \"long\",\n                \"index\": \"not_analyzed\"\n            },\n            \"host\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"input_type\": {\n                \"type\": \"text\",\n                \"index\": \"not_analyzed\"\n            },\n            \"log_timestamp\": {\n                \"type\": \"text\"\n            },\n            \"log_ts\": {\n                \"type\": \"long\",\n                \"index\": \"not_analyzed\"\n            },\n            \"message\": {\n                \"type\": \"text\"\n            },\n            \"offset\": {\n                \"type\": \"long\",\n                \"index\": \"not_analyzed\"\n            },\n            \"query_params\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"response_time\": {\n                \"type\": \"long\"\n            },\n            \"sessionid\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"source\": {\n                \"type\": \"text\",\n                \"index\": \"not_analyzed\"\n            },\n            \"statuscode\": {\n                \"type\": \"long\"\n            },\n            \"tags\": {\n                \"type\": \"text\"\n            },\n            \"thread\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"type\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"uripath\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"user_account_combo\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            },\n            \"verb\": {\n                \"type\": \"text\",\n                \"index\": \"true\"\n            }\n        }\n    }\n}\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":178872,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-47370280","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47370280/whats-the-difference-between-the-field-and-field-keyword-fields-in-kibana","posted_at":"2017-11-18T19:43:46.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"PaulB","score":33,"kind":"question","title":"What&#39;s the difference between the &#39;field&#39; and &#39;field.keyword&#39; fields in Kibana?","body":"When adding a filter in kibana all string fields have a  entry and .keyword entry. What is the difference?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":18763,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-30471859","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30471859/kibana-logstash-elasticsearch-unindexed-fields-cannot-be-searched","posted_at":"2015-05-27T01:52:15.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"rohit12sh","score":31,"kind":"question","title":"Kibana Logstash ElasticSearch | Unindexed fields cannot be searched","body":"I am exploring ELK stack and coming across an issue.\nI have generated logs, forwarded the logs to logstash, logs are in JSON format so they are pushed directly into ES with only JSON filter in Logstash config, connected and started Kibana pointing to the ES.\nLogstash Config:\n filter {\n  json {\n    source => \"message\"\n  }\n\nNow I have indexes created for each day's log and Kibana happily shows all of the logs from all indexes.\nMy issue is: there are many fields in logs which are not enabled/indexed for filtering in Kibana. When I try to add them to the filer in Kibana, it says \"unindexed fields cannot be searched\".\nNote: these are not sys/apache log. There are custom logs in JSON format.\nLog format:\n{\"message\":\"ResponseDetails\",\"@version\":\"1\",\"@timestamp\":\"2015-05-23T03:18:51.782Z\",\"type\":\"myGateway\",\"file\":\"/tmp/myGatewayy.logstash\",\"host\":\"localhost\",\"offset\":\"1072\",\"data\":\"text/javascript\",\"statusCode\":200,\"correlationId\":\"a017db4ebf411edd3a79c6f86a3c0c2f\",\"docType\":\"myGateway\",\"level\":\"info\",\"timestamp\":\"2015-05-23T03:15:58.796Z\"}\n\nfields like 'statusCode', 'correlationId' are not getting indexed. Any reason why?\nDo I need to give a Mapping file to ES to ask it to index either all or given fields?","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":24413,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-29429201","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29429201/timestamp-not-appearing-in-kibana","posted_at":"2015-04-03T09:02:35.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"HHHH","score":30,"kind":"question","title":"Timestamp not appearing in Kibana","body":"I'm pretty new to Kibana and just set up an instance to look at some ElasticSearch data.\n\nI have one index in Elastic Search, which has a few fields including _timestamp. When I go to the 'Discover' tab and look at my documents, each have the _timestamp field but with a yellow warning next to the field saying \"No cached mapping for this field\". As a result, I can't seem to sort/filter by time. \n\nWhen I try and create a new index pattern and click on \"Index contains time-based events\", the 'Time-field name' dropdown doesn't contain anything. \n\nIs there something else I need to do to get Kibana to recognise the _timestamp field?\n\nI'm using Kibana 4.0.","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":38615,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["02-discover-and-kql","12-maps-and-geo"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-25156517","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25156517/logstash-date-parsing-as-timestamp-using-the-date-filter","posted_at":"2014-08-06T09:17:00.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Josep","score":28,"kind":"question","title":"Logstash date parsing as timestamp using the date filter","body":"Well, after looking around quite a lot, I could not find a solution to my problem, as it \"should\" work, but obviously doesn't.\nI'm using on a Ubuntu 14.04 LTS machine Logstash 1.4.2-1-2-2c0f5a1, and I am receiving messages such as the following one:\n\n2014-08-05 10:21:13,618 [17] INFO  Class.Type - This is a log message from the class:\n  BTW, I am also multiline\n\n\nIn the input configuration, I do have a multiline codec and the event is parsed correctly. I also separate the event text in several parts so that it is easier to read.\n\nIn the end, I obtain, as seen in Kibana, something like the following (JSON view):\n\n{\n  \"_index\": \"logstash-2014.08.06\",\n  \"_type\": \"customType\",\n  \"_id\": \"PRtj-EiUTZK3HWAm5RiMwA\",\n  \"_score\": null,\n  \"_source\": {\n    \"@timestamp\": \"2014-08-06T08:51:21.160Z\",\n    \"@version\": \"1\",\n    \"tags\": [\n      \"multiline\"\n    ],\n    \"type\": \"utg-su\",\n    \"host\": \"ubuntu-14\",\n    \"path\": \"/mnt/folder/thisIsTheLogFile.log\",\n    \"logTimestamp\": \"2014-08-05;10:21:13.618\",\n    \"logThreadId\": \"17\",\n    \"logLevel\": \"INFO\",\n    \"logMessage\": \"Class.Type - This is a log message from the class:\\r\\n  BTW, I am also multiline\\r\"\n  },\n  \"sort\": [\n    \"21\",\n    1407315081160\n  ]\n}\n\n\nYou may have noticed that I put a \";\" in the timestamp. The reason is that I want to be able to sort the logs using the timestamp string, and apparently logstash is not that good at that (e.g.: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/multi-fields.html).\n\nI have unsuccessfull tried to use the date filter in multiple ways, and it apparently did not work.\n\ndate {\n            locale => \"en\"\n            match => [\"logTimestamp\", \"YYYY-MM-dd;HH:mm:ss.SSS\", \"ISO8601\"]\n            timezone => \"Europe/Vienna\"\n            target => \"@timestamp\"\n            add_field => { \"debug\" => \"timestampMatched\"}\n        }\n\n\nSince I read that the Joda library may have problems if the string is not strictly ISO 8601-compliant (very picky and expects a T, see https://logstash.jira.com/browse/LOGSTASH-180), I also tried to use mutate to convert the string to something like 2014-08-05T10:21:13.618 and then use \"YYYY-MM-dd'T'HH:mm:ss.SSS\". That also did not work.\n\nI do not want to have to manually put a +02:00 on the time because that would give problems with daylight saving.\n\nIn any of these cases, the event goes to elasticsearch, but date does apparently nothing, as @timestamp and logTimestamp are different and no debug field is added.\n\nAny idea how I could make the logTime strings properly sortable? I focused on converting them to a proper timestamp, but any other solution would also be welcome.\n\nAs you can see below:\n\n\nWhen sorting over @timestamp, elasticsearch can do it properly, but since this is not the \"real\" log timestamp, but rather when the logstash event was read, I need (obviously) to be able to sort also over logTimestamp. This is what then is output. Obviously not that useful:\n\n\n\nAny help is welcome! Just let me know if I forgot some information that may be useful.\n\nUpdate:\n\nHere is the filter config file that finally worked:\n\n# Filters messages like this:\n# 2014-08-05 10:21:13,618 [17] INFO  Class.Type - This is a log message from the class:\n#  BTW, I am also multiline\n\n# Take only type- events (type-componentA, type-componentB, etc)\nfilter {\n    # You cannot write an \"if\" outside of the filter!\n    if \"type-\" in [type] {\n        grok {\n            # Parse timestamp data. We need the \"(?m)\" so that grok (Oniguruma internally) correctly parses multi-line events\n            patterns_dir => \"./patterns\"\n            match => [ \"message\", \"(?m)%{TIMESTAMP_ISO8601:logTimestampString}[ ;]\\[%{DATA:logThreadId}\\][ ;]%{LOGLEVEL:logLevel}[ ;]*%{GREEDYDATA:logMessage}\" ]\n        }\n\n        # The timestamp may have commas instead of dots. Convert so as to store everything in the same way\n        mutate {\n            gsub => [\n                # replace all commas with dots\n                \"logTimestampString\", \",\", \".\"\n                ]\n        }\n\n        mutate {\n            gsub => [\n                # make the logTimestamp sortable. With a space, it is not! This does not work that well, in the end\n                # but somehow apparently makes things easier for the date filter\n                \"logTimestampString\", \" \", \";\"\n                ]\n        }\n\n        date {\n            locale => \"en\"\n            match => [\"logTimestampString\", \"YYYY-MM-dd;HH:mm:ss.SSS\"]\n            timezone => \"Europe/Vienna\"\n            target => \"logTimestamp\"\n        }\n    }\n}\n\nfilter {\n    if \"type-\" in [type] {\n        # Remove already-parsed data\n        mutate {\n            remove_field => [ \"message\" ]\n        }\n    }\n}","product":["kibana"],"versions":["14.04"],"lang":"en","answer_count":2,"view_count":93950,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["12-maps-and-geo","13-observability-apm","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-40569144","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40569144/kibana-regular-expression-search","posted_at":"2016-11-13T00:12:44.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Krishna Chaitanya","score":28,"kind":"question","title":"Kibana Regular expression search","body":"I am newbie to ELK. I want to search for docs based on order of occurrence of words in a field. For example,\n\nIn doc1, my_field: \"MY FOO WORD BAR EXAMPLE\" \n In doc2, my_field: \"MY BAR WORD FOO EXAMPLE\"\n\nI would like to query in Kibana for docs where \"FOO\" is followed by \"BAR\" and not the opposite. So, I would like doc1 to return in this case and not doc2.\nI tried using below query in Kibana search. But, it is not working. This query doesn't even produce any search results.\n\nmy_field.raw:/.*FOO.*BAR.*/\n\n\nI also tried with analyzed field(just my_field), though I came to know that should not work. And of course, that didn't produce any results either.\n\nPlease help me with this regex search. Why am I not getting any matching result for that query?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":122083,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-49088327","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49088327/running-a-local-kibana-in-a-container","posted_at":"2018-03-03T19:29:37.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Bick","score":27,"kind":"question","title":"Running a local kibana in a container","body":"I am trying to run use kibana console with my local elasticsearch (container)\nIn the ElasticSearch documentation I see  \n\ndocker run -p 9200:9200 -p 9300:9300 -e \"discovery.type=single-node\" docker.elastic.co/elasticsearch/elasticsearch:6.2.2\n\n\nWhich lets me run the community edition in a quick one liner.\n\nLooking at the kibana documentation i see only  \n\ndocker pull docker.elastic.co/kibana/kibana:6.2.2\n\n\nReplacing pull with run it looks for the x-pack (I think it means not community) and fails to find the ES \n\nUnable to revive connection: http://elasticsearch:9200/\n\n\nIs there a one liner that could easily set up kibana localy in a container?\nAll I need is to work with the console (Sense replacement)","product":["kibana"],"versions":["6.2.2"],"lang":"en","answer_count":3,"view_count":27118,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-51852960","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51852960/elasticsearch-reindex-error-client-request-timeout","posted_at":"2018-08-15T04:27:48.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"S S","score":27,"kind":"question","title":"Elasticsearch reindex error - client request timeout","body":"I am trying to reindex using following line:\n\nPOST _reindex\n{\n  \"source\": {\n    \"index\": \"poi_201705\"\n  },\n  \"dest\": {\n    \"index\": \"poi_dev_2\"\n  }\n}\n\n\nBut I am getting following error in kibana console:\n\n{\n  \"statusCode\": 504,\n  \"error\": \"Gateway Time-out\",\n  \"message\": \"Client request timeout\"\n}\n\n\nCan anybody tell me what is this issue and how can get rid of it.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":22928,"accepted":true,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-44306569","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44306569/malformed-query-expected-end-object-but-found-field-name-error-in-kibana-elast","posted_at":"2017-06-01T11:41:51.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Zabs","score":27,"kind":"question","title":"malformed query, expected END_OBJECT but found FIELD_NAME error in Kibana (Elastic Search)","body":"I am running the following GET query within my Kibana Console and for some reason I am getting a error in the response window as follows :\n\n// error \n\n[match] malformed query, expected [END_OBJECT] but found [FIELD_NAME]\n\n\nCan anyone suggest why I am not able to use multiple match blocks within the 'should' section?\n\n// response - if i take out one of the match blocks it works?? \n\n{\n  \"error\": {\n   \"root_cause\": [\n     {\n       \"type\": \"parsing_exception\",\n       \"reason\": \"[match] malformed query, expected [END_OBJECT] but found [FIELD_NAME]\",\n        \"line\": 9,\n        \"col\": 13\n     }\n   ],\n    \"type\": \"parsing_exception\",\n    \"reason\": \"[match] malformed query, expected [END_OBJECT] but found [FIELD_NAME]\",\n    \"line\": 9,\n    \"col\": 13\n   },\n   \"status\": 400\n}\n\n\n// my query\n\nGET _search\n  {\n    \"query\": {\n      \"bool\": {\n        \"should\": [\n        {\n           \"match\": {\n           \"text\": \"facebook advice\"\n        },\n           \"match\": {\n           \"profile\": \"facebook advice\"\n        }\n      }\n    ],\n    \"minimum_number_should_match\": 1,\n    \"filter\": {\n      \"term\": {\n        \"accountid\": \"22\"\n      }\n    }\n  }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":73414,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-30073759","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30073759/searchphaseexecutionexceptionfailed-to-execute-phase-query-all-shards-failed","posted_at":"2015-05-06T10:12:39.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"RayofCommand","score":27,"kind":"question","title":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]","body":"Recently our server was rebooted without correctly shutting down the Elastic Search / Kibana. After that reboot, both applications were running but no indices were getting created anymore. I checked logstash setup in debug mode and it is sending data to Elastic Search.\n\nnow all my created windows report this error:\n\nOops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]\n\n\nI tried restarting Elastic Search / Kibana, and cleared some indices. I searched a lot but wasn't able to troubleshoot this correctly. \n\nCurrent Cluster Health Status is RED as shown in picture.\n\n\n\nAny help as of how to troubleshoot that is upvoted. Thank you\n\nEDIT:\n\n[2015-05-06 00:00:01,561][WARN ][cluster.action.shard     ] [Indech] [logstash-2015.03.16][1] sending failed shard for [logstash-2015.03.16][1], node[fdSgUPDbQB2B3NQqX7MdMQ], [P], s[INITIALIZING], indexUUID [aBcfbqnNR4-AGEdIR8dVdg], reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.03.16][1] failed to recover shard]; nested: ElasticsearchIllegalArgumentException[No version type match [101]]; ]]\n[2015-05-06 00:00:01,561][WARN ][cluster.action.shard     ] [Indech] [logstash-2015.03.16][1] received shard failed for [logstash-2015.03.16][1], node[fdSgUPDbQB2B3NQqX7MdMQ], [P], s[INITIALIZING], indexUUID [aBcfbqnNR4-AGEdIR8dVdg], reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.03.16][1] failed to recover shard]; nested: ElasticsearchIllegalArgumentException[No version type match [101]]; ]]\n[2015-05-06 00:00:02,591][WARN ][indices.cluster          ] [Indech] [logstash-2015.04.21][4] failed to start shard\norg.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [logstash-2015.04.21][4] failed to recover shard\n    at org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:269)\n    at org.elasticsearch.index.gateway.IndexShardGatewayService$1.run(IndexShardGatewayService.java:132)\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n    at java.lang.Thread.run(Thread.java:744)\nCaused by: org.elasticsearch.ElasticsearchIllegalArgumentException: No version type match [52]\n    at org.elasticsearch.index.VersionType.fromValue(VersionType.java:307)\n    at org.elasticsearch.index.translog.Translog$Create.readFrom(Translog.java:364)\n    at org.elasticsearch.index.translog.TranslogStreams.readTranslogOperation(TranslogStreams.java:52)\n    at org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:241)\n\n\nwhat concerns me in the logsis this:\n\n[2015-05-06 15:13:48,059][DEBUG][action.search.type       ] All shards failed for phase: [query]\n\n\n\n{\n  \"cluster_name\" : \"elasticsearch\",\n  \"status\" : \"red\",\n  \"timed_out\" : false,\n  \"number_of_nodes\" : 8,\n  \"number_of_data_nodes\" : 1,\n  \"active_primary_shards\" : 120,\n  \"active_shards\" : 120,\n  \"relocating_shards\" : 0,\n  \"initializing_shards\" : 0,\n  \"unassigned_shards\" : 310\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":119510,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-52578465","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52578465/how-to-write-comments-in-kibana-console","posted_at":"2018-09-30T13:46:49.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"ludgo","score":26,"kind":"question","title":"How to write comments in Kibana console?","body":"Can you provide me with a hint how to comment out lines in Kibana Dev Tools console? I am interested in comment syntax.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":17345,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-47632846","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47632846/cant-create-two-types-to-same-index-elasticsearch-kibana","posted_at":"2017-12-04T11:57:14.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"YK mar","score":26,"kind":"question","title":"Can&#39;t create two Types to same index elasticsearch &amp; Kibana","body":"I'm new in elasticsearch and kibana \n\nI'm doing some exercices with elasticsearch (create index,types and documents..)\n\nI created an index 'business' with type 'building'\n\nput /business/building/217\n{\n  \"adresse\":\"11 Pen Ave\",\n  \"floors\":5,\n  \"offices\":7,\n  \"loc\":{\n    \"lat\":40.693479,\n    \"lon\":-73.983854\n  }\n}\n\n\nit works funny but when I tried to create another type like this\n\nput /business/employee/330\n{\n  \"name\":\"Richard Bell\",\n  \"title\":\"Senior Accountant\",\n  \"salar_usd\":115000.00,\n  \"hiredate\":\"Jan 19, 2013\"\n}\n\n\nthen I got this error \n\n{\n  \"error\": {\n    \"root_cause\": [\n      {\n        \"type\": \"illegal_argument_exception\",\n        \"reason\": \"Rejecting mapping update to [business] as the final mapping would have more than 1 type: [employee, building]\"\n      }\n    ],\n    \"type\": \"illegal_argument_exception\",\n    \"reason\": \"Rejecting mapping update to [business] as the final mapping would have more than 1 type: [employee, building]\"\n  },\n  \"status\": 400\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":11622,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-29427511","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29427511/can-i-change-the-index-pattern-of-a-visualization-in-kibana","posted_at":"2015-04-03T06:47:16.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Kumar Pallav","score":26,"kind":"question","title":"Can I change the index pattern of a visualization in Kibana?","body":"I have created a full set of visualizations.Due to some reason I have to deleted that index in elastic. We need to create a new pattern of index. Problem is that after deleting index visualizations will not work . I will have to recreate it one by one painfully.\nIs there a way that I can go and edit visualization and just modify index pattern rather creating a new visualization itself.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":26883,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["05-index-patterns-data-views","04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-65551705","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/65551705/wildcard-search-in-kibana-for-string-text-in-message-field","posted_at":"2021-01-03T15:44:24.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"firstpostcommenter","score":26,"kind":"question","title":"Wildcard search in Kibana for string text in message field","body":"I have the following plain text string in the message field in Kibana\nmessage: Request result. Request: amount=58289.540000, name=Raj, so on.....\nIn Kibana in Lucene search when I use message: \"Request Result\" then I get the correct match.\nBut I want to search using wildcard like message: \"Request Resu*\". Is this possible without any changes to the logs or to Kibana index?\nEdit:\nI thought that \"message\" is a plain text log, when I search \"amount=58289.540000, name=Raj\" then I get the result but when I search for \"amount=58289.540000, name=R\" then I dont get any result. How does Kibana know that this is a partial value?\nI guess message is not plain text? How can I know what is the type of the log that I am viewing in Kibana GUI?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":82120,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-27851468","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27851468/replicate-kibana-3-dashboard-using-kibana-4","posted_at":"2015-01-08T23:32:57.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Sgt B","score":25,"kind":"question","title":"Replicate Kibana 3 Dashboard using Kibana 4","body":"I've been using Kibana 3 for event log review for about a year or so and it's worked out great. I can create different dashboards for different types of logs and provide end users (IT folks) with the dashboards they require.\n\nIn these dashboards I'll have a date histogram, pie charts, and lastly a table of all the documents within the query (the first 500 anyway). All of these in one page that the end users are very happy with.\n\nI'm having trouble replicating that in our QA environment that leverages Kibana 4 Beta 3.\n\nI can create dashboards that contain \"Visualizations\", this being the date histogram and the pie charts. I can even do some cool new things since it's based on aggregations.\n\nHowever, I'm struggling with including a table of the documents within the dashboard. In Kibana 3 I'd add a \"table\" panel and select the fields I want to view. It appears this functionality has been replaced by the \"Discover\" page.\n\nIs it possible to accomplish this in Kibana 4? Right now I have to switch between the Dashboard and Discover page to get what I need. Furthermore, if I click a slice of a pie chart, it creates a filter on the Dashboard page (all graphs are affected), but this doesn't translate to the Discover page so I'd have to create the filter manually. This is a bit counter intuitive and a bit of a separation from Kibana 3's usability for log review.\n\nI'd wager I'm just missing something here. Hopefully that's the case and someone can help me see the obvious. Thanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":10590,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","03-visualization-quality","10-docs-and-ux"],"sentiment":"positive","tags":["discover"]}
{"id":"so-29652992","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29652992/performing-calculations-on-multiple-metrics-counts-in-kibana-4","posted_at":"2015-04-15T14:28:49.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"NickJHoran","score":23,"kind":"question","title":"Performing Calculations on Multiple Metrics (Counts) in Kibana 4","body":"I have a number of separate searches (elasticsearch) that produce simple metric visualisations.  Each of these visualisations is a simple total (integer).  That's easy enough.\n\nWhat I'd like to be able to do is work out the conversion rates between pairs of those metrics.  As an example:\n\nMetric 1:    Metric 2:    Conversion Calculation:    Conversion Rate:\n15312        9760         (9760 / 15312) * 100       63.74%\n\n\nIt seems like something that should be possible in Kibana 4 but I've just spent several hours playing around with my data (+ searching for examples) but haven't been able to solve this problem.\n\nHas anyone else tried the same thing and had better results?  I know that Kibana has scripted fields&mdash;but I need some sort of scripted aggregation.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7931,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-40653992","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40653992/can-we-export-all-search-result-data-in-kibana","posted_at":"2016-11-17T11:41:56.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Roopendra","score":22,"kind":"question","title":"Can we export all search result data in Kibana?","body":"I am trying to export all search result data in Kibana 5. But it's only exporting count of the result. Is there any way to export all data in CSV format \nin Kibana?\n\nTried so far   \n\n\nClicked on symbol (^) at the bottom of search result\nvisualization. \nTried with \"Raw\" and \"Formatted\" option both.\nData is exporting in CSV format (attached image below) but it's\ndisplaying total count of the search result. But it should export all 65001 result. \n\n\n\n\nGetting Output:","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":16688,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-34286917","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34286917/how-to-configure-index-pattern-in-kibana","posted_at":"2015-12-15T10:37:11.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"freefall","score":21,"kind":"question","title":"How to configure index pattern in Kibana","body":"I have connected Kibana to my ES instance. \n\ncat/indices returns:\n\nyellow open .kibana 1 1      1 0 3.1kb 3.1kb \nyellow open tests   5 1 413042 0 3.4gb 3.4gb \n\n\nHowever I get the following on the kibana configuration screen. What am I missing?\n\n\n\nUpdate: \n\n\n\nMy sample document looks like this\n\n    \"_index\": \"tests\",\n    \"_type\": \"test7\",\n    \"_id\": \"AVGlIKIM1CQ8BZRgLZVg\",\n    \"_score\": 1.7840601,\n    \"_source\": {\n       \"severity\": \"ERROR\",\n       \"code\": \"CODE,\n       \"message\": \"MESSAGE\",\n       \"environment\": \"TEST\",\n       \"error_uuid\": \"cbe99080-0bf3-495c-a417-77384ba0fd39\",\n       \"correlation_id\": \"cf5a1fd5-4fd2-40bb-9cdf-405b91dcbd6f\",\n       \"timestamp\": \"2015-11-20 15:24:39.831\"","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":51395,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-21955183","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21955183/regex-query-syntax-examples-in-kibana","posted_at":"2014-02-22T13:49:21.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"ashbondu","score":21,"kind":"question","title":"Regex query syntax examples in kibana","body":"I am trying to find the different kinds of syntax I can give in regex type of query through kibana, but I was not able to find any information on this.\nI am running logstash and elasticsearch in the backend.\nAny answer or example will be helpful.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":45270,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-32052507","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/32052507/representing-a-kibana-query-in-a-rest-curl-form","posted_at":"2015-08-17T14:06:26.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Adam Matan","score":20,"kind":"question","title":"Representing a Kibana query in a REST, curl form","body":"I have a Kibana server in a classic ELK configuration, querying an Elasticsearch instance. \n\nI use the Kibana console to execute sophisticated queries on elasticsearch. I would like to use some of these queries in the command linem using cURL or any other http tool.\n\nHow can I convert a Kibana search into a direct, cURL-like REST call to elasticsearch?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":42526,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-39700622","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39700622/kibana-pie-chart-slices-based-on-substring-of-a-field","posted_at":"2016-09-26T10:37:35.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Lior Ohana","score":20,"kind":"question","title":"Kibana: pie chart slices based on substring of a field","body":"I'm trying to create a pie chart visualization that will display the top 10 incoming requests.\nI have a search query that filters only the incoming requests which have a field called messages which looks like the following:\n\"Incoming request /api/someaction\".\nHow do I do the aggregation based on the /api/someaction part rather on the entire string (because then \"Incoming\" is counted as a term\".\n\nOr...can I create custom field which are, for example, a substring of another field?\n\nThanks","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12755,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality","02-discover-and-kql"],"sentiment":"positive","tags":[]}
{"id":"so-34661210","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34661210/how-to-bind-kibana-to-multiple-host-names-ips","posted_at":"2016-01-07T17:12:04.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Phil B","score":20,"kind":"question","title":"How to bind Kibana to multiple host names / IPs","body":"Is there a way to bind Kibana to more than one IP address using kibana's config file: kibana.yml? \nRight now, if I modify the line\n\nserver.host: \"127.0.0.1\"\n\nto\n\nserver.host: [\"127.0.0.1\",\"123.45.67.89\"]\n\nwhich is valid YML, I get an error.\n\nIs there any way to accomplish this from within Kibana or do I need to do it through a proxy/nginx?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":20166,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-39907523","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39907523/are-there-conventions-for-naming-organizing-elasticsearch-indexes-which-store-lo","posted_at":"2016-10-07T00:18:07.000Z","captured_at":"2026-04-14T13:23:53.497Z","author":"Eric Anastas","score":20,"kind":"question","title":"Are there conventions for naming/organizing Elasticsearch indexes which store log data?","body":"I'm in the process of setting up Elasticsearch and Kibana as a centralized logging platform in our office. \n\nWe have a number of custom utilities and plug-ins which I would like to track the usage of and if users are encountering any errors. Not to mention there are servers, and scheduled jobs I would like to keep track of as well.\n\nSo if I have a number of different sources for log data all going to the same elasticsearch cluster what are the conventions or best practices for how this is organized into indexes and document types? \n\nThe default index value used by Logstash is \"logstash-%{+YYYY.MM.dd}\". So it seems like it's best to suffix any index names with the current date, as this makes it easy to purge old data.\n\nHowever, Kibana allows for adding multiple \"index patterns\" that can be selected from in the UI. Yet all the tutorials I've read only mention creating a single pattern like logstash-*. \n\nHow are multiple index patterns used in practice? Would I just give names for all the sources for my data? Such as:\n\nBackupUtility-%{+YYYY.MM.dd}\nUserTracker-%{+YYYY.MM.dd}\nApacheServer-%{+YYYY.MM.dd}\n\n\nI'm using nLog in a number of my tools which has an elastic search target. The convention for nLog and other similar logging frameworks is to have a \"logger\" for each class in the source code. Should these logger translate to indexes in elastic search? \n\nMyCompany.CustomTool.FooClass-%{+YYYY.MM.dd}\nMyCompany.CustomTool.BarClass-%{+YYYY.MM.dd}\nMyCompany.OtherTool.BazClass-%{+YYYY.MM.dd}\n\n\nOr is this too granular for elasticsearch index names, and it would be better to stick to just to a single dated index for the application?\n\nCustomTool-%{+YYYY.MM.dd}","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":14402,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-30120199","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30120199/how-to-create-value-over-time-line-chart-in-kibana-4","posted_at":"2015-05-08T09:20:07.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Artemis","score":19,"kind":"question","title":"How to create value over time line chart in Kibana 4?","body":"I'm facing a following problem. In Kibana 4 I've created a line chart based on my input from elasticeasrch but I can only display average, min, max instead of an actual value of the field per time, e.g. sent bytes.\nMost answears to that question on stackoverflow are about Kibana 3 (How to create value over time chart with Kibana 3?) and seem to include a Histogram on a X axis, yet I can't seem to find one which will enable me to apply them to Kibana 4. I was unable to find the histogram panel and once I click on the discover tab there is the constant Searching loading.\n\nIf I have the following fields in my _source:\n{\"timestamp\":\"2015-06-02T10:16:44.0855\",\"time\":587,\"threadName\":\"Thread Group 1-957\",\"byte\":1372,\"status\":\"false\",\"latence\":306,\"registerCall\":\"404\"}\n\nand I would like to have the number of bytes on the Y-axis and on the X-axis my timestamp.\n\nAny help in the right direction will be appreciated :)","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":24192,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-32998228","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/32998228/elasticsearch-extract-number-from-a-field","posted_at":"2015-10-07T17:00:37.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Pirulino","score":19,"kind":"question","title":"elasticsearch: extract number from a field","body":"I'm using elasticsearch and kibana for storing my logs. \nNow what I want is to extract a number from a field and store it a new field.\n\nSo for instance, having this:\n\naccountExist execution time: 1046 ms\n\nI would like to extract the number (1046) and see it in a new field in kibana.\n\nIs it possible? how?\nThanks for the help","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":16369,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-21998410","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21998410/build-a-kibana-histogram-with-buckets-dynamically-created-by-elasticsearch-terms","posted_at":"2014-02-24T20:34:11.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"ecbrodie","score":19,"kind":"question","title":"Build a Kibana Histogram with buckets dynamically created by ElasticSearch terms aggregation","body":"I want to be able to combine the functionality of the Kibana Terms Graph (be able to create buckets based on uniqueness of values from a particular attribute) and Histogram Graph (separate data into buckets based on queries and then illustrate the date based on time).\n\nOverall, I want to create a Histogram, but I only want to create the Histogram based on the results of one query, not multiple queries like it's being done in the Kibana demo app. Instead, I want each bucket to be dynamically created per unique value of my particular field. For example, consider the following data returned by my query:\n\n{\"myValueType\": \"New York\"}\n{\"myValueType\": \"New York\"}\n{\"myValueType\": \"New York\"}\n{\"myValueType\": \"San Francisco\"}\n{\"myValueType\": \"San Francisco\"}\n\n\nAlso assume that each record has a timestamp field for separating histogram data by date. For that particular date, I want the data to be communicated as a count of 3 into the New York bucket and a count of 2 into the San Francisco bucket. However, I am only able to show a count of 5 for my one linked query. When I configure the Histogram, I am able to specify a field to use for my timestamp, but not to create buckets from. I could've sent a field to compute a total/min/max/mean, but this field would've had to be numeric, so that is not the solution either.\n\nIf I were to use a Term Graph to create a pie or bar graph, I am indeed able to separate my data into buckets based on the unique values of my specified field (in this case, \"myValueType\"), but this would total up the data for all-time, not split up the data by timestamp. Although this is good information to know, it is not ideal because I wouldn't be able to detect trends in my data.\n\nI am looking for a solution that will do one of the following:\n\n\nLet me dynamically create queries in my Kibana dash board to create \"buckets\" in a Histogram\nAllow me to run an ElasticSearch Terms Aggregation to supposidly split up my data into buckets based on \"myValueType\" and integrate these results into my Histogram\nCustomize the JSON of my dashboard, but this doesn't look possible to me\nCreate my own custom panel, but this is not desirable\nLink a Kibana \"TopN\" query in Kibana. Actually, this has proven to be a work-around for my problem because the TopN query dynamically created one query per unique value/term from the specified fieldName. However, the problem is that I can only link one colour to this TopN query and each unique term will be placed in a bucket that uses a different shade of the colour. Ideally, every bucket in my Histogram will have a completely different colour associated to it. Imagine how difficult it will be to distinguish unique terms as the number of buckets grows.\nIf all else fails, I make one query per unique value from my search field. This will allow me to have one unique colour per bucket, but as the number of unique terms in the \"myValueType\" field changes, I need to keep adding/removing queries from Kibana, which can get quite messy.\n\n\nI'm sure there is someting that I am missing here. Please help me out. Many thanks.\n\nA highly related SOF question: Is it Possible to Use Histogram Facet or Its Curl Response in Kibana","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8403,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","10-docs-and-ux","02-discover-and-kql"],"sentiment":"negative","tags":[]}
{"id":"so-22717832","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22717832/wildcard-search-doesnt-work-in-kibana","posted_at":"2014-03-28T16:06:12.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Sgt B","score":18,"kind":"question","title":"Wildcard search doesn&#39;t work in Kibana","body":"I have a field \"Alert\" that contains a long string containing spaces, numbers, and special characters. I have this field set to \"not_analyzed\". Using the Wildcard query I can issue a query as follows and get the results I want.\n\nPOST /test-index-snort2/type-snort/_search\n{\n  \"query\": {\n    \"wildcard\": {\n      \"Alert\": {\n        \"value\": \"ET CNC*\"\n      }\n    }\n  }\n}\n\n\nI'd like to use Kibana to implement a similar search. Doing so however returns no results. My query in Kibana appears as follows:\n\nAlert:\"ET CNC*\"\n\n\nWhich in turn creates a query_string query like so:\n\n\"query\": {\n    \"filtered\": {\n      \"query\": {\n        \"bool\": {\n          \"should\": [\n            {\n              \"query_string\": {\n                \"query\": \"Alert:\\\"ET CNC*\\\"\"\n              }\n            }\n          ]\n        }\n      },\n      \"filter\": {\n        \"bool\": {\n          \"must\": [\n            {\n              \"match_all\": {}\n            }\n          ]\n        }\n      }\n    }\n\n\nIs there a way to get the same results in Kibana via the query_string query that I do with using the wildcard query?\n\nHere is the mapping for the Alert field and a sample of the entries:\n\n\"Alert\": {\n        \"type\": \"string\",\n        \"index\": \"not_analyzed\"\n},\n\n\"Alert\": \"ET CNC Palevo Tracker Reported CnC Server TCP group 9 \",\n\"Alert\": \"ET CNC Palevo Tracker Reported CnC Server TCP group 10 \",\n\"Alert\": \"ET CNC Zeus Tracker Reported CnC Server TCP group 3 \",","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":50037,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","07-alerting-and-watcher","08-spaces-and-rbac"],"sentiment":"neutral","tags":[]}
{"id":"so-62281279","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62281279/what-is-the-difference-between-lucene-query-language-and-kql","posted_at":"2020-06-09T11:13:25.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"fyrkov","score":18,"kind":"question","title":"What is the difference between Lucene query language and KQL","body":"Kibana ver >= 7.0 offers KQL by default for the search dropdown but also supports what seems to be old Lucene syntax. \nOften it complains annoyingly that \"You might be using Lucene but KQL is selected\" when trying to search.\nGoing to the suggested links:\n\n\nhttps://www.elastic.co/guide/en/kibana/7.7/lucene-query.html\nhttps://www.elastic.co/guide/en/kibana/7.7/kuery-query.html\n\n\nI don't see any differences. What are the key differences between them? Can someone give query examples highlighting these differences?","product":["kibana"],"versions":["7.0","7.7"],"lang":"en","answer_count":1,"view_count":14289,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"neutral","tags":["kql"]}
{"id":"so-71890575","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71890575/kibana-unable-to-retrieve-version-information-from-elasticsearch-nodes-missing","posted_at":"2022-04-16T02:18:03.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Lulu Ka.","score":17,"kind":"question","title":"Kibana unable to retrieve version information from Elasticsearch nodes: missing authentication credentials for REST request","body":"I'm trying to Install Kibana 8.1.1 on Windows10. The thing is when it starts installions it stops on an error like:\n[2022-04-16T01:16:59.744+00:00][ERROR][elasticsearch-service] Unable to retrieve version \ninformation from Elasticsearch nodes. security_exception: [security_exception] Reason: missing \nauthentication credentials for REST request [/_nodes?filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes.*.ip] \n\nI tried to change the elastisearch.yml and kibana.yml files:\nxpack.security.enabled: false\n\nbut it is still doesn't work.\nI did add this folowing lines too\nxpack.security.enabled: true  \nxpack.monitoring.enabled: true  \nxpack.monitoring.ui.enabled: true  \nxpack.security.encryptionKey: \"XXX\"\n\nstill nothing.\nI also removed the # on kibana.yml too before the     elasticsearch.hosts: [\"http://localhost:9200\"]\nHere is the content of the configuration files:\nkibana.yml:\n`server.port: 5601  \nserver.host: \"localhost\"  \nserver.name: \"your-hostname\"  \nelasticsearch.hosts: [\"http://localhost:9200\"]`\n\nelasticsearch.yml:\n`cluster.name: my-application  \nnetwork.host: 192.168.0.1  \nnode.name: node-1  \ndiscovery.seed_hosts: [\"host1\", \"host2\"]  \ncluster.initial_master_nodes: [\"node-1\", \"node-2\"]`","product":["kibana"],"versions":["8.1.1"],"lang":"en","answer_count":3,"view_count":43019,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-71193286","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71193286/error-failed-to-determine-the-health-of-the-cluster","posted_at":"2022-02-20T10:03:37.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Yusuf","score":17,"kind":"question","title":"ERROR: Failed to determine the health of the cluster","body":"I am running Elasticsearch and kibana, I am not sure of the status of my elasticsearsh cluster (if its red, yellow, or green) but it seems I need to get a token generated by elasticsearch as in the screenshot when I ran bin/elasticsearch-create-enrollment-token --scope kibana from the right directory it errors out ERROR: Failed to determine the health of the cluster..","product":["kibana"],"versions":[],"lang":"en","answer_count":9,"view_count":55874,"accepted":false,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-27023210","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27023210/kibana-for-sql-database","posted_at":"2014-11-19T17:31:27.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Oussama L.","score":17,"kind":"question","title":"kibana for sql database","body":"I need to build a kibana like dashboard over a sql database. Is this possible? or is there an alternative as easy as kibana (in term of integration) for sql?","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":28259,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-40373400","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40373400/docker-compose-yml-for-elasticsearch-and-kibana","posted_at":"2016-11-02T06:02:37.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Richie","score":16,"kind":"question","title":"docker-compose.yml for elasticsearch and kibana","body":"My aim is to get the elasticsearch and kibana images from DockerHub working locally using Docker.\n\nThis does the trick and works perfectly...\n\ndocker network create mynetwork --driver=bridge\n\ndocker run -p 5601:5601 --name kibana -d --network mynetwork kibana \ndocker run -p 9200:9200 -p 9300:9300 --name elasticsearch -d --network mynetwork elasticsearch\n\n\nToday a bird whispered in my ear and said I should learn docker-compose. So I tried to do all of what's above inside a docker-compose.yml.\n\nHere is my attempt.\n\nversion: \"2.0\"\nservices:\n  elasticsearch:\n    image: elasticsearch:latest\n    ports:\n      - \"9200:9200\"\n      - \"9300:9300\"\n    networks:\n      - docker_elk\n  kibana:\n    image: kibana:latest\n    ports:\n      - \"5601:5601\"\n    networks:\n      - docker_elk\nnetworks:\n  docker_elk:\n    driver: bridge\n\n\nUnfortunately this does not work. I've been racking my brains as to why I always get the ECONNREFUSED error as shown below when i run docker-compse up.\n\n$ docker-compose up\nStarting training_elasticsearch_1\nRecreating training_kibana_1\nAttaching to training_elasticsearch_1, training_kibana_1\nelasticsearch_1  | [2016-11-02 22:39:55,798][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade\nelasticsearch_1  | [2016-11-02 22:39:56,036][INFO ][node                     ] [Caliban] version[2.4.1], pid[1], build[c67dc32/2016-09-27T18:57:55Z]\nelasticsearch_1  | [2016-11-02 22:39:56,036][INFO ][node                     ] [Caliban] initializing ...\nelasticsearch_1  | [2016-11-02 22:39:56,713][INFO ][plugins                  ] [Caliban] modules [reindex, lang-expression, lang-groovy], plugins [], sites []\nelasticsearch_1  | [2016-11-02 22:39:56,749][INFO ][env                      ] [Caliban] using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/vda2)]], net usable_space [54.8gb], net total_space [59gb], spins? [possibly], types [ext4]\nelasticsearch_1  | [2016-11-02 22:39:56,749][INFO ][env                      ] [Caliban] heap size [990.7mb], compressed ordinary object pointers [true]\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"yellow\",\"message\":\"Status changed from uninitialized to yellow - Waiting for Elasticsearch\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"error\",\"elasticsearch\"],\"pid\":11,\"message\":\"Request error, retrying -- connect ECONNREFUSED 172.20.0.2:9200\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":11,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":11,\"message\":\"No living connections\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":11,\"state\":\"red\",\"message\":\"Status changed from yellow to red - Unable to connect to Elasticsearch at http://elasticsearch:9200.\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from uninitialized to green - Ready\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:39:58Z\",\"tags\":[\"listening\",\"info\"],\"pid\":11,\"message\":\"Server running at http://0.0.0.0:5601\"}\nelasticsearch_1  | [2016-11-02 22:39:58,515][INFO ][node                     ] [Caliban] initialized\nelasticsearch_1  | [2016-11-02 22:39:58,515][INFO ][node                     ] [Caliban] starting ...\nelasticsearch_1  | [2016-11-02 22:39:58,587][INFO ][transport                ] [Caliban] publish_address {172.20.0.2:9300}, bound_addresses {[::]:9300}\nelasticsearch_1  | [2016-11-02 22:39:58,594][INFO ][discovery                ] [Caliban] elasticsearch/1Cf9qz7CSCqHBEEuwG7PQw\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:40:00Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":11,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:40:00Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":11,\"message\":\"No living connections\"}\nelasticsearch_1  | [2016-11-02 22:40:01,650][INFO ][cluster.service          ] [Caliban] new_master {Caliban}{1Cf9qz7CSCqHBEEuwG7PQw}{172.20.0.2}{172.20.0.2:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)\nelasticsearch_1  | [2016-11-02 22:40:01,661][INFO ][http                     ] [Caliban] publish_address {172.20.0.2:9200}, bound_addresses {[::]:9200}\nelasticsearch_1  | [2016-11-02 22:40:01,661][INFO ][node                     ] [Caliban] started\nelasticsearch_1  | [2016-11-02 22:40:01,798][INFO ][gateway                  ] [Caliban] recovered [1] indices into cluster_state\nelasticsearch_1  | [2016-11-02 22:40:02,149][INFO ][cluster.routing.allocation] [Caliban] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2016-11-02T22:40:03Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":11,\"state\":\"green\",\"message\":\"Status changed from red to green - Kibana index ready\",\"prevState\":\"red\",\"prevMsg\":\"Unable to connect to Elasticsearch at http://elasticsearch:9200.\"}\n^CGracefully stopping... (press Ctrl+C again to force)\nStopping training_kibana_1 ... done\nStopping training_elasticsearch_1 ... done\n\n\nCan someone please help me with why?\n\nthanks","product":["kibana"],"versions":[],"lang":"en","answer_count":6,"view_count":36773,"accepted":true,"category":"04-performance-and-load","secondary_categories":["09-upgrades-and-migration","10-docs-and-ux","15-plugin-and-ecosystem"],"sentiment":"negative","tags":[]}
{"id":"so-40882040","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40882040/zabbix-vs-grafana-vs-kibana","posted_at":"2016-11-30T06:53:11.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Atul Agrawal","score":16,"kind":"question","title":"Zabbix vs grafana vs kibana","body":"I am exploring grafana for my log  management and system monitoring.\nI found kibana is also used for same process.\nI just don't know when to use kibana and when to use grafana and when to use zabbix?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":28278,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-33160603","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33160603/kibana-alternatives","posted_at":"2015-10-16T00:19:06.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Ajit Goel","score":16,"kind":"question","title":"Kibana Alternatives","body":"I am having an issue in kibana. It does not show any results in the Discover tab. \n\nPlease look here for more information.\n\nDo we have any Kibana alternatives that the community has used? I searched on the internet and I could find only Head elasticSearch plugin. If nothing works, then I will work on consuming the ElasticSearch JSON feed using .Net and asp.net charts.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":26883,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["15-plugin-and-ecosystem"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-28717543","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28717543/kibana-and-fixed-time-spans","posted_at":"2015-02-25T11:13:34.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"jaspernygaard","score":16,"kind":"question","title":"Kibana and fixed time spans","body":"Is it possible to set a fixed timespan for a saved visualization or a saved search in Kibana 4? \n\nScenario:\nI want to create one dashboard with 2 visualizations with different time spans.\n\n\nA metric counting unique users within 10 min (last 10 minutes)\nA metric counting todays unique users (from 00.00am until now)\n\n\nNote that changing the time span on the dashboard does not affect the visualizations. Possible?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":17602,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","04-performance-and-load","13-observability-apm"],"sentiment":"negative","tags":[]}
{"id":"so-19867663","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/19867663/how-and-where-to-implement-basic-authentication-in-kibana-3","posted_at":"2013-11-08T20:06:21.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Jabb","score":16,"kind":"question","title":"How and where to implement basic authentication in Kibana 3","body":"I have put my elasticsearch server behind a Apache reverse proxy that provides basic authentication. \n\nAuthenticating to Apache directly from the browser works fine. However, when I use Kibana 3 to access the server, I receive authentication errors. \n\nObviously because no auth headers are sent along with Kibana's Ajax calls.\n\nI added the below to elastic-angular-client.js in the Kibana vendor directory to implement authentication quick and dirty. But for some reason it does not work. \n\n$http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n\n\nWhat is the best approach and place to implement basic authentication in Kibana?\n\n/*! elastic.js - v1.1.1 - 2013-05-24\n * https://github.com/fullscale/elastic.js\n * Copyright (c) 2013 FullScale Labs, LLC; Licensed MIT */\n\n/*jshint browser:true */\n/*global angular:true */\n'use strict';\n\n/* \nAngular.js service wrapping the elastic.js API. This module can simply\nbe injected into your angular controllers. \n*/\nangular.module('elasticjs.service', [])\n  .factory('ejsResource', ['$http', function ($http) {\n\n  return function (config) {\n    var\n\n      // use existing ejs object if it exists\n      ejs = window.ejs || {},\n\n      /* results are returned as a promise */\n      promiseThen = function (httpPromise, successcb, errorcb) {\n        return httpPromise.then(function (response) {\n          (successcb || angular.noop)(response.data);\n          return response.data;\n        }, function (response) {\n          (errorcb || angular.noop)(response.data);\n          return response.data;\n        });\n      };\n\n    // check if we have a config object\n    // if not, we have the server url so\n    // we convert it to a config object\n    if (config !== Object(config)) {\n      config = {server: config};\n    }\n\n    // set url to empty string if it was not specified\n    if (config.server == null) {\n      config.server = '';\n    }\n\n    /* implement the elastic.js client interface for angular */\n    ejs.client = {\n      server: function (s) {\n        if (s == null) {\n          return config.server;\n        }\n\n        config.server = s;\n        return this;\n      },\n      post: function (path, data, successcb, errorcb) {\n        $http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n        console.log($http.defaults.headers);\n        path = config.server + path;\n        var reqConfig = {url: path, data: data, method: 'POST'};\n        return promiseThen($http(angular.extend(reqConfig, config)), successcb, errorcb);\n      },\n      get: function (path, data, successcb, errorcb) {\n        $http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n        path = config.server + path;\n        // no body on get request, data will be request params\n        var reqConfig = {url: path, params: data, method: 'GET'};\n        return promiseThen($http(angular.extend(reqConfig, config)), successcb, errorcb);\n      },\n      put: function (path, data, successcb, errorcb) {\n        $http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n        path = config.server + path;\n        var reqConfig = {url: path, data: data, method: 'PUT'};\n        return promiseThen($http(angular.extend(reqConfig, config)), successcb, errorcb);\n      },\n      del: function (path, data, successcb, errorcb) {\n        $http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n        path = config.server + path;\n        var reqConfig = {url: path, data: data, method: 'DELETE'};\n        return promiseThen($http(angular.extend(reqConfig, config)), successcb, errorcb);\n      },\n      head: function (path, data, successcb, errorcb) {\n        $http.defaults.headers.common.Authorization = 'Basic ' + Base64Encode('user:Password');\n        path = config.server + path;\n        // no body on HEAD request, data will be request params\n        var reqConfig = {url: path, params: data, method: 'HEAD'};\n        return $http(angular.extend(reqConfig, config))\n          .then(function (response) {\n          (successcb || angular.noop)(response.headers());\n          return response.headers();\n        }, function (response) {\n          (errorcb || angular.noop)(undefined);\n          return undefined;\n        });\n      }\n    };\n\n    return ejs;\n  };\n}]);\n\n\nUPDATE 1: I implemented Matts suggestion. However, the server returns a weird response. It seems that the authorization header is not working. Could it have to do with the fact, that I am running Kibana on port 81 and elasticsearch on 8181?\n\nOPTIONS /solar_vendor/_search HTTP/1.1\nHost: 46.252.46.173:8181\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3\nAccept-Encoding: gzip, deflate\nOrigin: http://46.252.46.173:81\nAccess-Control-Request-Method: POST\nAccess-Control-Request-Headers: authorization,content-type\nConnection: keep-alive\nPragma: no-cache\nCache-Control: no-cache\n\n\nThis is the response\n\nHTTP/1.1 401 Authorization Required\nDate: Fri, 08 Nov 2013 23:47:02 GMT\nWWW-Authenticate: Basic realm=\"Username/Password\"\nVary: Accept-Encoding\nContent-Encoding: gzip\nContent-Length: 346\nConnection: close\nContent-Type: text/html; charset=iso-8859-1\n\n\nUPDATE 2: Updated all instances with the modified headers in these Kibana files\n\nroot@localhost:/var/www/kibana# grep -r 'ejsResource(' .\n\n./src/app/controllers/dash.js:      $scope.ejs = ejsResource({server: config.elasticsearch, headers: {'Access-Control-Request-Headers': 'Accept, Origin, Authorization', 'Authorization': 'Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXX=='}});\n./src/app/services/querySrv.js:    var ejs = ejsResource({server: config.elasticsearch, headers: {'Access-Control-Request-Headers': 'Accept, Origin, Authorization', 'Authorization': 'Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXX=='}});\n./src/app/services/filterSrv.js:    var ejs = ejsResource({server: config.elasticsearch, headers: {'Access-Control-Request-Headers': 'Accept, Origin, Authorization', 'Authorization': 'Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXX=='}});\n./src/app/services/dashboard.js:    var ejs = ejsResource({server: config.elasticsearch, headers: {'Access-Control-Request-Headers': 'Accept, Origin, Authorization', 'Authorization': 'Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXX=='}});\n\n\nAnd modified my vhost conf for the reverse proxy like this\n\n<VirtualHost *:8181>\n\nProxyRequests Off\nProxyPass / http://127.0.0.1:9200/\nProxyPassReverse / https://127.0.0.1:9200/\n\n    <Location />\n        Order deny,allow\n        Allow from all\n        AuthType Basic\n        AuthName “Username/Password”\n        AuthUserFile /var/www/cake2.2.4/.htpasswd\n        Require valid-user\n\n    Header always set Access-Control-Allow-Methods \"GET, POST, DELETE, OPTIONS, PUT\"\n    Header always set Access-Control-Allow-Headers \"Content-Type, X-Requested-With, X-HTTP-Method-Override, Origin, Accept, Authorization\"\n    Header always set Access-Control-Allow-Credentials \"true\"\n    Header always set Cache-Control \"max-age=0\"\n    Header always set Access-Control-Allow-Origin *\n\n    </Location>\n\nErrorLog ${APACHE_LOG_DIR}/error.log\n\n</VirtualHost>\n\n\nApache sends back the new response headers but the request header still seems to be wrong somewhere. Authentication just doesn't work. \n\nRequest Headers\n\nOPTIONS /solar_vendor/_search HTTP/1.1\nHost: 46.252.26.173:8181\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3\nAccept-Encoding: gzip, deflate\nOrigin: http://46.252.26.173:81\nAccess-Control-Request-Method: POST\nAccess-Control-Request-Headers: authorization,content-type\nConnection: keep-alive\nPragma: no-cache\nCache-Control: no-cache\n\n\nResponse Headers\n\nHTTP/1.1 401 Authorization Required\nDate: Sat, 09 Nov 2013 08:48:48 GMT\nAccess-Control-Allow-Methods: GET, POST, DELETE, OPTIONS, PUT\nAccess-Control-Allow-Headers: Content-Type, X-Requested-With, X-HTTP-Method-Override, Origin, Accept, Authorization\nAccess-Control-Allow-Credentials: true\nCache-Control: max-age=0\nAccess-Control-Allow-Origin: *\nWWW-Authenticate: Basic realm=\"Username/Password\"\nVary: Accept-Encoding\nContent-Encoding: gzip\nContent-Length: 346\nConnection: close\nContent-Type: text/html; charset=iso-8859-1\n\n\nSOLUTION:\nAfter doing some more research, I found out that this is definitely a configuration issue with regard to CORS. There are quite a few posts available regarding that topic but it appears that in order to solve my problem, it would be necessary to to make some very granular configurations on apache and also make sure that the right stuff is sent from the browser.\n\nSo I reconsidered the strategy and found a much simpler solution. Just modify the vhost reverse proxy config to move the elastisearch server AND kibana on the same http port. This also adds even better security to Kibana.\n\nThis is what I did:\n\n<VirtualHost *:8181>\n\nProxyRequests Off\n\nProxyPass /bigdatadesk/ http://127.0.0.1:81/bigdatadesk/src/\nProxyPassReverse /bigdatadesk/ http://127.0.0.1:81/bigdatadesk/src/\n\nProxyPass / http://127.0.0.1:9200/\nProxyPassReverse / https://127.0.0.1:9200/\n\n\n    <Location />\n        Order deny,allow\n        Allow from all\n        AuthType Basic\n        AuthName “Username/Password”\n        AuthUserFile /var/www/.htpasswd\n        Require valid-user\n    </Location>\n\n\nErrorLog ${APACHE_LOG_DIR}/error.log\n\n</VirtualHost>","product":["kibana"],"versions":["5.0","6.1"],"lang":"en","answer_count":3,"view_count":23772,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["03-visualization-quality","08-spaces-and-rbac","12-maps-and-geo"],"sentiment":"neutral","tags":["license"]}
{"id":"so-42874034","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42874034/kibana-running-on-docker-how-to-save-dashboard","posted_at":"2017-03-18T11:51:50.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"sabrina2020","score":16,"kind":"question","title":"kibana running on docker: how to save dashboard?","body":"I am running kibana 5.2.1 from docker. I am using this image: FROM docker.elastic.co/kibana/kibana:5.2.1\n\nThe problem is if I remove the container the work done on kibana will be lost.\nHow can I save kibana dashboard on docker instance?\n\ncan I use docker volume? if yes which folder in the container store kibana data so I can map it to a local folder.\n\nThanks!","product":["kibana"],"versions":["5.2.1"],"lang":"en","answer_count":1,"view_count":10251,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-54618244","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54618244/too-many-redirects-error-when-iframing-kibana-dashboard-using-cookies","posted_at":"2019-02-10T16:00:35.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"An0nC0d3r","score":16,"kind":"question","title":"TOO_MANY_REDIRECTS error when iFraming Kibana dashboard using cookies","body":"I'm attempting to embed password protected Kibana dashboards inside an iFrame to my Node powered Express application, based on information in this thread. Kibana is protected using X-Pack and requires users to login in order to see their visualised data. \n\nThis currently requires the user to log in twice, once to login into the application and again to access Kibana dashboards, which is not the goal. \n\nFollowing information in this thread, I implemented some code that makes a pre-flight POST request to https://elk-stack.my.domain:5601/api/security/v1/login to obtain a cookie 🍪 \n\nThis client side request...\n\nfunction preFlightKibanaAuth () {\n    ...\n    $.ajax({\n      type: 'POST',\n      url: '/kibana-auth',\n      datatype: 'json',\n      success: function (response) {\n        if (response && response.authenticated) {\n          $('iframe#kibana-dashboard').prop('src', 'https://elk-stack.my.domain:5601/s/spacename/app/kibana#/dashboards?_g=()')\n        }\n      },\n      error: function (err) {\n        console.log(err)\n      }\n    })\n  }\n\n\nIs routed to this route...\n\nrouter\n  .route('/kibana-auth')\n  .post((req, res, next) => {\n    ... \n    if (authorised) {\n      ...\n      authenticateKibana(req)\n          .then(cookie => {\n            if (cookie && cookie.name && cookie.value) {\n              res.set('Set-Cookie', `${cookie.name}=${cookie.value}; Domain=my.domain; Path=/; Secure; HttpOnly`)\n              res.send({ 'authenticated': true })\n            } else {\n              res.send({ 'authenticated': false })\n            }\n          })\n          .catch((err) => {\n            logger.error(err)\n            res.send({ 'authenticated': false })\n          })\n    }\n    ...\n  })\n\n\nWhich makes it's way to this function, where the cookie is actually obtained and parsed...\n\nauthenticateKibana () {\n    return new Promise((resolve, reject) => {\n      ...\n      request({\n        method: 'POST',\n        uri: `https://elk-stack.my.domain:5601/api/security/v1/login`,\n        headers: {\n          'kibana-version': '6.5.4',\n          'kibana-xsrf': 'xsrftoken',    \n        },\n        type: 'JSON',\n        form: {\n          password: 'validPassword',\n          username: 'validUsername'\n        }\n      }, function (error, res, body) {\n        if (!error) {\n          let cookies = cookieParser.parse(res)\n          cookies.forEach(function (cookie) {\n            if (cookie.name.startsWith('kibana')) {\n              // Got Kibana Cookie\n              return resolve(cookie)\n            }\n          })\n        } \n        ... \n      })\n    })\n  }\n\n\nThis works great and I can successfully authenticate with Kibana, obtain the cookie and set in the clients browser (see below screenshot).\n\n\n\nThe issue I'm seeing is when the src of the iFrame is updated in the success callback of the preFlightKibanaAuth() request. I can see the authenticated Kibana dashboard load in briefly (so the cookie is allowing the client to view their authenticated dashboards), however, I then see multiple GET requests to /login?next=%2Fs%2Fspacename%2Fapp%2Fkibana that results in a TOO_MANY_REDIRECTS error.\n\nI've found the below comment in the GitHub issues page, which I think maybe the issue I'm having in some way because I'm seeing this in the logs (see bottom): \"message\":\"Found 2 auth sessions when we were only expecting 1.\". I just can't figure it out!\n\n\n  Usually what causes this is having multiple cookies for the same\n  \"domain\" and \"name\", but with different values for \"path\". If you open\n  the developer tools in Chrome, then click on the Application tab, then\n  expand the Cookies section, and click on the domain, do you have\n  multiple cookies with the name \"sid\"? If so, you can fix this issue by\n  clearing all of them.\n\n\nI changed the cookie name from \"sid\" to \"kibana\" but don't have two of them visible in Applications tab, just the one I set following the call to /kibana-auth. \n\nThe iFrame then loads in the https://elk-stack.my.domain:5601/s/spacename/app/kibana#/dashboards?_g=() and the issue arises. Clearing my cookies just resulted in fetching and setting another one (if we don't already have one), which is what is required, so this didn't solve the problem. \n\nWhen I send the Set-Cookie header back to the client, I am setting the Domain to the main domain: my.domain, which ends up as .my.domain. The Kibana instance is on a subdomain: elk-stack.my.domain and if I login to the Kibana front end, I can see that the Domain of the cookie it returns is set to elk-stack.my.domain. I'm not sure that should matter though.\n\nCan anyone please shed any light on this or point me in the direction?\n\nThanks in advance\n\nHere's a glimpse at the logging info from /var/log/kibana/kibana.stdout when a request is made. There's a bit of junk in there still but you can still see what's happening.\n\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate user request to /api/security/v1/login.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate via header.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Request has been authenticated via header.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[],\"pid\":7857,\"method\":\"post\",\"statusCode\":204,\"req\":{\"url\":\"/api/security/v1/login\",\"method\":\"post\",\"headers\":{\"kibana-version\":\"6.5.4\",\"kbn-xsrf\":\"6.5.4\",\"host\":\"10.30.10.30:5601\",\"content-type\":\"application/\nx-www-form-urlencoded\",\"content-length\":\"35\",\"connection\":\"close\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\"},\"res\":{\"statusCode\":204,\"responseTime\":109,\"contentLength\":9},\"message\":\"POST /api/security/v1/login 204 109ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/s/spacename/app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"warning\",\"security\",\"auth\",\"session\"],\"pid\":7857,\"message\":\"Found 2 auth sessions when we were only expecting 1.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate user request to /app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate via header.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Authorization header is not presented.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:44Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/app/kibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":3,\"contentLength\":9},\"message\":\"GET /app/kibana 302 3ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"\\\"getConnections\\\" has been called.\"}\n{\"type\":\"ops\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"os\":{\"load\":[0.2568359375,0.31640625,0.3173828125],\"mem\":{\"total\":33567580160,\"free\":346796032},\"uptime\":1585351},\"proc\":{\"uptime\":33636.577,\"mem\":{\"rss\":322772992,\"heapTotal\":225566720,\"heapUsed\":184707176,\"external\":2052484},\"delay\":6.417333126068115},\"load\":{\"requests\":{\"5601\":{\"total\":2,\"disconnects\":0,\"statusCodes\":{\"204\":1,\"302\":1}}},\"concurrents\":{\"5601\":1},\"responseTimes\":{\"5601\":{\"avg\":56,\"max\":109}},\"sockets\":{\"http\":{\"total\":0},\"https\":{\"total\":0}}},\"message\":\"memory: 176.2MB uptime: 9:20:37 load: [0.26 0.32 0.32] delay: 6.417\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"monitoring-ui\",\"kibana-monitoring\"],\"pid\":7857,\"message\":\"Received Kibana Ops event data\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"monitoring-ui\",\"kibana-monitoring\"],\"pid\":7857,\"message\":\"Received Kibana Ops event data\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":2,\"contentLength\":9},\"message\":\"GET /login?next=%2Fs%2Fspacename%2Fapp%2Fkibana 302 2ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n\n\nThe below then repeats over and over...\n\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/s/spacename/app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"warning\",\"security\",\"auth\",\"session\"],\"pid\":7857,\"message\":\"Found 2 auth sessions when we were only expecting 1.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate user request to /app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate via header.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Authorization header is not presented.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/app/kibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":2,\"contentLength\":9},\"message\":\"GET /app/kibana 302 2ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":2,\"contentLength\":9},\"message\":\"GET /login?next=%2Fs%2Fspacename%2Fapp%2Fkibana 302 2ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"plugin\",\"debug\"],\"pid\":7857,\"message\":\"Checking Elasticsearch version\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/s/spacename/app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"warning\",\"security\",\"auth\",\"session\"],\"pid\":7857,\"message\":\"Found 2 auth sessions when we were only expecting 1.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate user request to /app/kibana.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Trying to authenticate via header.\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"security\",\"basic\"],\"pid\":7857,\"message\":\"Authorization header is not presented.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/app/kibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":2,\"contentLength\":9},\"message\":\"GET /app/kibana 302 2ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"trace\",\"legacy\",\"service\"],\"pid\":7857,\"message\":\"Request will be handled by proxy GET:/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana.\"}\n{\"type\":\"response\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[],\"pid\":7857,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/login?next=%2Fs%2Fspacename%2Fapp%2Fkibana\",\"method\":\"get\",\"headers\":{\"host\":\"elk-stack.my.domain:5601\",\"connection\":\"keep-alive\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7,fr;q=0.6\"},\"remoteAddress\":\"192.168.56.102\",\"userAgent\":\"192.168.56.102\",\"referer\":\"https://local.local.my.domain/fortigate/reporting/dashboard\"},\"res\":{\"statusCode\":302,\"responseTime\":2,\"contentLength\":9},\"message\":\"GET /login?next=%2Fs%2Fspacename%2Fapp%2Fkibana 302 2ms - 9.0B\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"debug\",\"legacy\",\"proxy\"],\"pid\":7857,\"message\":\"Event is being forwarded: connection\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-02-12T19:47:45Z\",\"tags\":[\"plugin\",\"debug\"],\"pid\":7857,\"message\":\"Checking Elasticsearch version\"}\n\n\nKibana Version: 6.5.4\n\nElasticsearch: 6.5.4","product":["kibana"],"versions":["6.5.4","10.30.10","5.0"],"lang":"en","answer_count":1,"view_count":1222,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring","04-performance-and-load","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-21684226","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21684226/kibana-3-documentation","posted_at":"2014-02-10T17:40:32.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"lingo_journey","score":15,"kind":"question","title":"Kibana 3 documentation","body":"I have not been any usual documentation at all. I can't find anything on Elasticsearch.\n\nI have seen a few blog articles and that's about it.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":13128,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-27467180","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27467180/run-a-simple-sql-group-by-query-in-kibana-4","posted_at":"2014-12-14T07:13:13.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"PMOPMO","score":15,"kind":"question","title":"Run a simple sql group by query in kibana 4","body":"I want to run a simple sql group by query in kibana 4 \"Discover\" page.\nEach record in my elastic search index represent a log and has 3 columns: process_id (not unique value), log_time, log_message.\n\nexample:\n\nprocess_id                log_time             log_message\n\n----------------         --------------------                --------------------\n\n1                        2014/12/11 01:00              msg1\n\n1                        2014/12/11 01:10           msg2\n\n1                        2014/12/11 01:20           msg3\n\n2                        2014/12/11 11:00           msg4\n\n2                        2014/12/11 11:10           msg5\n\n\n\n\nI want to generate a table in kibana that looks like:\n\n\n\nprocess_id         first log_time                              last log_time\n\n----------------        ------------------------          --------------------\n\n1                    2014/12/11 01:00         2014/12/11 01:20\n\n2                    2014/12/11 11:00        2014/12/11 11:10\n\n\n\n\nIn sql the query is simple: \nselect process_id, max(log_time), min(log_time)\nfrom logs_table\ngroup by process_id\n\nHow can I run this query in Kibana? Is it possible to run the query in \"Discover\" page or should I create a panel (Visualize page)?\n\nthanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":24458,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring"],"sentiment":"positive","tags":["discover"]}
{"id":"so-44981143","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44981143/how-to-use-slash-in-kibana-discovery","posted_at":"2017-07-07T23:53:57.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Alexey","score":15,"kind":"question","title":"How to use slash (&#39;/&#39;) in Kibana Discovery?","body":"I'm testing ELK stack for nginx-access logs. It looks good except I have not found a way to search records in Kibana Discovery (v5.3.2) with a path that start with \"/test/a\". Search works if I remove slashes, but in this case, I get what I don't need - \"/ololo/ololo?test=1\"\n\nI tried different requests:\n\npath:/\\/test\\/a/\npath:/\\\\/test\\\\/a/\npath:\"/test/a\"\npath:\"\\/test\\/a\"\npath:\"\\\\/test\\\\/a\"\n\n\nbut nothing works as I expect.\n\nRecords:\n\n[\n{\n    ...\n    \"path\": \"/test/a1\"\n    ...\n},\n{\n    ...\n    \"path\": \"/test/a2\"\n    ...\n},\n{\n    ...\n    \"path\": \"/ololo/ololo?test=1\"\n    ...\n},        \n]\n\n\nMapping:\n\n\"path\": {\n  \"type\": \"string\", \n  \"index\": \"analyzed\", \n},\n\n\nIs there any way to search using slashes as part of pattern?\n\nUpdate:\n\nThese patterns do not work too:\n\npath:/.*\\/test\\/a.*/\npath:/[\\/]test[\\/]a/","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":17872,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-31827222","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31827222/how-can-we-query-kibana","posted_at":"2015-08-05T08:26:53.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Nader","score":15,"kind":"question","title":"How can we query Kibana?","body":"How can we request Kibana with REST API to get the visualization request\nand response?\n\nLike this:\n\n\nI want to do that using NodeJS to manipulate this results of Kibana.\nThe purpose is that I want to directly query Kibana programmatically (via REST API) to get the ES request body.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":44726,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-24248609","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24248609/using-kibana-and-mongodb-together-without-elasticsearch","posted_at":"2014-06-16T16:54:36.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Akk","score":15,"kind":"question","title":"Using kibana and mongodb together without elasticsearch","body":"Is it possible to use kibana front-end along with a mongodb back-end without using elastic search?\n\nI'm using logstash to parse logs and store in mongodb and want to use kibana to display data?\n\nIf not, are there any alternatives to implement kibana+mongodb?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":20909,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-27702714","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27702714/integrating-kibana-dashboards-into-an-angularjs-app","posted_at":"2014-12-30T09:25:49.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Lelouch Lamperouge","score":15,"kind":"question","title":"Integrating kibana dashboards into an angularjs app","body":"I have my ElasticSearch setup with kibana showing different panels. I have another angularjs app. I would like to receive input in a  field, use angularjs and show kibana panels in my angularjs app itself.\n\nAre there any tutorials/guides to achieve this? \n\nI have googled quite a bit about this, but am unable to find any help.\n\nYou could also rephrase my question as \"How do I embed a kibana dashboard in my AngularJS Single page website?\"","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7209,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["06-sharing-and-export","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-29671773","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29671773/query-two-indexes-simultaneously-in-kibana-4","posted_at":"2015-04-16T10:18:45.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Shubham Mishra","score":14,"kind":"question","title":"Query two indexes simultaneously in Kibana 4?","body":"Whenever I create a visualization, Kibana 4 asks me to select the index for doing the search. My project requires searching data that is present in multiple indexes and hence I am stuck. I wish to search two indexes for my data and then visualize them. Any help would be valuable.","product":["kibana"],"versions":[],"lang":"en","answer_count":6,"view_count":30924,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-24413451","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24413451/kibana-get-a-list-of-all-indices","posted_at":"2014-06-25T15:59:08.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"user3775873","score":14,"kind":"question","title":"Kibana - Get a list of all indices","body":"I have ElasticSearch installed on a server and Kibana 3.0 installed on another machine. Is there any way to get a list of all the indices on the ElasticSearch server to show up on Kibana? Just like how ElasticSearch-Head displays it. Maybe in a new dashboard on Kibana that shows all the indices?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":46123,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-40725668","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40725668/no-valid-url-specified-when-trying-to-install-kibanas-sense-plugin","posted_at":"2016-11-21T17:10:08.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"zapatilla","score":14,"kind":"question","title":"&quot;No valid url specified&quot; when trying to install Kibana&#39;s Sense plugin","body":"I'm trying to install the Sense plugin as specified in ElasticSearch getting started guide, like this:\n\n./bin/kibana plugin --install elastic/sense\n\n\nHowever that command seems outdated and the only one that seems possible is this:\n\n./bin/kibana-plugin install elastic/sense\n\n\nBut it doesn't work:\n\nAttempting to transfer from elastic/sense\nAttempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/elastic/sense/elastic/sense-5.0.1.zip\nPlugin installation was unsuccessful due to error \"No valid url specified.\"\n\n\nI tried to install it by downloading it locally from here: https://download.elasticsearch.org/elasticsearch/sense/sense-2.0.0-beta7.tar.gz\n\nAnd then running:\n\n./bin/kibana-plugin install file:<PATH_TO_sense-2.0.0-beta7.tar>\n\n\nBut I get this error:\n\nAttempting to transfer from file:/Users/raquelalegre/workspace/ORACC/p4-search-tool/kibana-5.0.1-darwin-x86_64/sense-2.0.0-beta7.tar\nTransferring 6363648 bytes....................\nTransfer complete\nRetrieving metadata from plugin archive\nError: Could not find the End of Central Directory Record\nPlugin installation was unsuccessful due to error \"Error retrieving metadata from plugin archive\"\n\n\nI'm stuck and can't find how to install this :( Any help would be really appreciated!","product":["kibana"],"versions":["5.0.1"],"lang":"en","answer_count":4,"view_count":11651,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-40998852","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40998852/search-for-list-of-possible-values-in-one-field","posted_at":"2016-12-06T15:22:35.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Florian","score":14,"kind":"question","title":"Search for list of possible values in one field","body":"In kibana I want to define a query, which will find all entries containing a field numberwith either a value of 234, 231, 1. \n\nIs there a way to define a query, looking something like number: (234, 231, 1)(This does not work). \n\nCurrently my only working query looks like: (number:234 OR number:231 OR number:1).","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":20792,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-49624372","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49624372/how-to-register-external-service-non-msa-on-eureka-discovery-registry","posted_at":"2018-04-03T07:18:39.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Tukaram Patil Pune","score":14,"kind":"question","title":"How to register External Service (Non MSA) On Eureka Discovery registry","body":"I am using Kibna inside Docker.\nI am running the Kibana using docker-compose\nBelow is My docker-compose.yml\n  version: '2'\n    services:\n      elasticsearch:\n        image: elasticsearch\n        expose:\n          - 9200\n        ports:\n          - \"9200:9200\"\n        networks:\n          - cloud      \n      \n      \n      fluentd:\n        build: ./fluentd\n        volumes:\n          - ./fluentd/conf:/fluentd/etc\n        links:\n          - \"elasticsearch\"\n        ports:\n          - \"24224:24224\"\n          - \"24224:24224/udp\"\n        networks:\n          - cloud  \n      \n    \n      kibana:\n        image: kibana\n        links:\n          - \"elasticsearch\"\n        ports:\n          - \"9201:5601\"\n        networks:\n          - cloud\n    \n    networks:\n      cloud:\n       driver: bridge\n\nI want to enroll this Kibana application on Eureka discovery registry\nso that I can call this using API-gateway\nBelow Is the sample the way I enroll My API-gateway on Eureka\neureka:\n  client:\n    serviceUrl:\n      defaultZone: http://eureka-server:8761/eureka/\n    registry-fetch-interval-seconds: 60\n  instance:\n    hostname: api-gateway\n    prefer-ip-address: false\n    lease-renewal-interval-in-seconds: 5000\n    lease-expiration-duration-in-seconds: 5000\n\nAPI-gateway is a spring-boot application so it's straightforward.\nI am running kibana using docker (Image). How can I achieve the same for this\nAny help will be appreciable.\nThanks In advance","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2139,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-55046577","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55046577/vega-and-kibana-dynamic-timestamp-label-and-filtered-queries","posted_at":"2019-03-07T14:47:44.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"betto86","score":14,"kind":"question","title":"Vega and Kibana - Dynamic timestamp label and filtered queries","body":"I am working with my first Vega visualization with Kibana.\n\n{\n  $schema: https://vega.github.io/schema/vega-lite/v2.json\n  title: Event counts from all indexes\n\n  data: {\n    url: {\n\n      %context%: true\n      %timefield%: last_submission\n\n      index: test_info\n\n      body: {\n        aggs: {\n          time_buckets: {\n            date_histogram: {\n\n              field: last_submission\n              interval: {%autointerval%: true}\n              extended_bounds: {\n                min: {%timefilter%: \"min\"}\n                max: {%timefilter%: \"max\"}\n              }\n\n              min_doc_count: 0\n            }\n          }\n        }\n        size: 0\n      }\n    }\n    format: {property: \"aggregations.time_buckets.buckets\"}\n  }\n\n  mark: line\n\n  encoding: {\n    x: {\n      field: key\n      type: temporal\n      axis: {title: false} \n    }\n    y: {\n      field: doc_count\n      type: quantitative\n      axis: {title: \"Document count\"}\n    }\n  }\n}\n\n\n\n\nI have two questions here.\n\n1 - As the visualization is linked to the Kibana dashboard, the user can choice different time windows from the main dashboard. As you can see the labels have always the full format. I need to set dynamically the label based on the time windows.\nThat is, show only hours if the user choose day data, show days if the user choose weekly data and so on.\nWhat I need to do?\n\n2- I need to filter the events basing on a particular value of a field and use the time windows of the main dashboard. Is that possible? I have tried adding the query filter here in the Vega code, but if I also have the context and timefield set I have this error:\n\nurl.%context% and url.%timefield% must not be used when url.body.query is set","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":2377,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","03-visualization-quality","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-25977423","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25977423/import-json-files-into-logstash-elasticsearch-kibana","posted_at":"2014-09-22T15:10:05.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Pedro M. Silva","score":13,"kind":"question","title":"Import JSON Files into Logstash + Elasticsearch + Kibana","body":"So, I have a web platform that prints a JSON file per request containing some log data about that request. I can configure several rules about when should it log stuff, only at certain levels, etc...\n\nNow, I've been toying with the Logstash + Elasticsearch + Kibana3 stack, and I'd love to find a way to see those logs in Kibana. My question is, is there a way to make Logstash import these kind of files, or would I have to write a custom input plugin for it? I've searched around and for what I've seen, plugins are written in Ruby, a language I don't have experience with.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":52427,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-36871862","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36871862/programmatically-set-kibanas-default-index-pattern","posted_at":"2016-04-26T17:31:17.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Rui","score":13,"kind":"question","title":"Programmatically set Kibana&#39;s default index pattern","body":"A Kibana newbie would like to know how to set default index pattern programmatically rather than setting it on the Kibana UI through web browser during the first time viewing Kibana UI as mentioned on page https://www.elastic.co/guide/en/kibana/current/setup.html","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":17921,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-51950640","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51950640/elasticsearch-gateway-timeout-504","posted_at":"2018-08-21T14:11:45.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"CodeMonkey","score":13,"kind":"question","title":"Elasticsearch Gateway timeout 504","body":"I updated some indices mapping to simply add a keyword field to a text property and reloaded Kibana's index patterns. I was told I should run this command at the end:\n\nPOST 11ad.pi.prod.test-case-18/_update_by_query?conflicts=proceed\n\n\nafter doing it I get an error:\n\n{\n\"statusCode\": 504,\n\"error\": \"Gateway Time-out\",\n\"message\": \"Client request timeout\"\n}\n\n\ndoes it mean the timeout is too short? how can it be changed?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":28611,"accepted":true,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views","02-discover-and-kql","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-71615937","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71615937/elasticsearch-kibana-docker-compose-value-of-elastic-is-forbidden","posted_at":"2022-03-25T11:08:24.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Alberto Morreale","score":13,"kind":"question","title":"Elasticsearch-Kibana docker-compose - Value of &quot;elastic&quot; is forbidden","body":"I want to run elasticsearch and kibana with docker-compose.\nThis is my docker-compose.yml which I run with docker-compose --env-file dev.env up\nDocker Compose\nversion: '3.1'\n\nservices:\n  elasticsearch:\n    image: docker.elastic.co/elasticsearch/elasticsearch:8.1.1\n    container_name: elasticsearch\n    environment:\n      - cluster.name=elasticsearch-cluster\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n      - discovery.type=single-node\n      - xpack.security.enrollment.enabled=true\n      - ELASTICSEARCH_USERNAME=${ELASTICSEARCH_USERNAME}\n      - ELASTICSEARCH_PASSWORD=${ELASTICSEARCH_PASSWORD}\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - esdata:/usr/share/elasticsearch/data\n    ports:\n      - \"9200:9200\"\n      - \"9300:9300\"\n    networks:\n      - esnet\n  kibana:\n    image: docker.elastic.co/kibana/kibana:8.1.1\n    container_name: kibana\n    environment:\n      - ELASTICSEARCH_HOSTS=${ELASTICSEARCH_HOSTS}\n      - ELASTICSEARCH_USERNAME=${ELASTICSEARCH_USERNAME}\n      - ELASTICSEARCH_PASSWORD=${ELASTICSEARCH_PASSWORD}\n      - xpack.security.enabled=true\n    depends_on:\n      - elasticsearch\n    ports:\n      - \"5601:5601\"\n    networks:\n      - esnet\n\nvolumes:\n  esdata:\n    driver: local\n  postgres-data:\n    driver: local\n\nnetworks:\n  esnet:\n\nStacktrace\nError: [config validation of [elasticsearch].username]: value of \"elastic\" is forbidden. This is a superuser account that cannot write to system indices that Kibana needs to function. Use a service account token instead\nI manage to create service-account token for example for user elastic/kibana, but how can I set it to docker-compose? Is there a specific env variabile that should I use?\nOr is there a way to make it work without the usage of service account?","product":["kibana"],"versions":["8.1.1"],"lang":"en","answer_count":2,"view_count":15100,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-30396242","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30396242/how-to-do-a-time-range-search-in-kibana","posted_at":"2015-05-22T12:04:05.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"markus","score":13,"kind":"question","title":"How to do a time range search in Kibana","body":"We are using the ELK for log aggregation. Is it possible to search for events that occured during a particular time range. Lets say I want to see all exceptions that occurred between 10am and 11am in last month.\n\nIs it possible to extract the time part from @timestamp and do a range search on that somehow (similiar to date() in SQL)?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":33985,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-34301537","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34301537/kibana-equivalent-for-mongodb","posted_at":"2015-12-15T23:40:47.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"god","score":13,"kind":"question","title":"Kibana equivalent for MongoDB","body":"We've fed up with instability and unpredictability of ELK stack but still in love with the Kibana dashboards.\n\nHence I'm looking for some potential migration paths. MongoDB looks very promising: huge track record, lots of docs, ability to cope with json easily etc.\n\nIs there some equivalent to Kibana working on top of MongoDB? Some web app which lets you easily run search queries over indexed data, make them into dashboards, add nice maps and diagrams etc.\n\nI've looked into https://docs.mongodb.org/ecosystem/tools/administration-interfaces/ but this seems to be more about managing MongoDB itself rather than playing with data in it.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":20705,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo","09-upgrades-and-migration","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-45257934","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/45257934/master-not-discovered-exception-elasticsearch-single-node","posted_at":"2017-07-22T18:35:53.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"test123","score":12,"kind":"question","title":"master_not_discovered_exception ElasticSearch single node","body":"I am trying to setup elasticsearch on a single host. Here is how my configuration looks like: \n\nelasticsearch.yml    \n\nnode.name: ${HOSTNAME}\n\nnetwork.host: _site_, _local_\nhttp.port: 9200\ntransport.tcp.port: 9300\ncluster.name: \"test_cluster\"\nnode.local: true\n\n\nkibana.yml\n\nserver.host: 0.0.0.0\nelasticsearch.url: http://localhost:9200\n\n\nOn following command:\n\ncurl -XGET 'localhost:9200/_cluster/health?pretty'\n\n\nI get following message: \n\n{\n  \"error\" : {\n  \"root_cause\" : [\n   {\n      \"type\" : \"master_not_discovered_exception\",\n      \"reason\" : null\n   }\n  ],\n  \"type\" : \"master_not_discovered_exception\",\n  \"reason\" : null\n},\n \"status\" : 503\n}\n\n\nIn log file I see following message:\n\nnot enough master nodes discovered during pinging (found [[]], but needed [-1]), pinging again\n\n\nCould someone please point me right direction here?","product":["kibana"],"versions":[],"lang":"en","answer_count":6,"view_count":16999,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-55956645","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55956645/docker-compose-yml-for-elasticsearch-7-0-1-and-kibana-7-0-1","posted_at":"2019-05-02T16:27:31.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"RickyTad","score":12,"kind":"question","title":"docker-compose.yml for elasticsearch 7.0.1 and kibana 7.0.1","body":"I am using Docker Desktop with linux containers on Windows 10 and would like to launch the latest versions of the elasticsearch and kibana containers over a docker compose file.\n\nEverything works fine when using some older version like 6.2.4.\n\nThis is the working docker-compose.yml file for 6.2.4.\n\nversion: '3.1'\n\nservices:\n\n  elasticsearch:\n   image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4\n   container_name: elasticsearch\n   ports:\n    - \"9200:9200\"\n   volumes:\n    - elasticsearch-data:/usr/share/elasticsearch/data\n   networks:\n    - docker-network\n\n  kibana:\n   image: docker.elastic.co/kibana/kibana:6.2.4\n   container_name: kibana\n   ports:\n    - \"5601:5601\"\n   depends_on:\n    - elasticsearch\n   networks:\n    - docker-network\n\nnetworks:\n  docker-network:\n    driver: bridge\n\nvolumes:\n  elasticsearch-data:\n\n\n\nI deleted all installed docker containers and adapted the docker-compose.yml file by changing 6.2.4 to 7.0.1.\nBy starting the new compose file everything looks fine, both the elasticsearch and kibana containers are started. But after a couple of seconds the elasticsearch container exits (the kibana container is running further). I restarted everything, attached a terminal to the elasticsearch container and saw the following error message:\n\n...\nERROR: [1] bootstrap checks failed\n[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured\n...\n\n\nWhat must be changed in the docker-compose.yml file to get elasticsearch 7.0.1 working?","product":["kibana"],"versions":["7.0.1","6.2.4"],"lang":"en","answer_count":1,"view_count":14980,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-55683573","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55683573/default-username-in-elastic-cloud-kibana-and-how-to-find-a-password","posted_at":"2019-04-15T06:27:47.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Jin Lee","score":12,"kind":"question","title":"default username in Elastic cloud (kibana) and how to find a password","body":"I'm trying out the Elastic Cloud 14 days free trial.\nI deployed Elastic cloud following the video tutorial. I set my password. However, I don't remember putting in my username. I tried my email account, which I used to confirm. I tried my IP address, cloud ID given in my cloud.elastic.co site. I went through account and profile tab but couldn't find anything. I searched for default username, but some site mentioned 'kibana' but that didn't work either.  I am very embarrassed, but I only have 14 days to try it out, so if anyone has used or has been using this, could you help me with this?\nWhere else should I look for username? I didn't set my username at all. What is the default username if any?","product":["kibana"],"versions":[],"lang":"en","answer_count":7,"view_count":34691,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38735514","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38735514/elasticsearch-entered-read-only-mode-node-cannot-be-altered","posted_at":"2016-08-03T05:58:14.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Orz","score":12,"kind":"question","title":"ElasticSearch entered &quot;read only&quot; mode, node cannot be altered","body":"Something happened during the night to my ES cluster (composed of 5 data nodes, 3 master nodes).\nI have no idea what happened but all the indices and data were deleted and the cluster entered a \"read only\" mode, possibly hacked?\nWhen trying to get Kibana running, I get the following:\n\nTried restarting Kibana - it restarted, nothing changed.\nTried restarting Elastic - it restarted (all nodes), nothing changed.\nI then had a look at the cluster settings and this is what I got:\n{\n  \"persistent\": {\n    \"cluster\": {\n      \"routing\": {\n        \"allocation\": {\n          \"enable\": \"all\"\n        }\n      },\n      \"blocks\": {\n        \"read_only\": \"true\"\n      }\n    }\n  },\n  \"transient\": {\n    \"cluster\": {\n      \"routing\": {\n        \"allocation\": {\n          \"enable\": \"all\"\n        }\n      }\n    }\n  }\n}\n\nI tried undoing the read only as follows:\nPUT _cluster/settings\n{\n  \"persistent\": {\n    \"blocks.read_only\": false\n  }\n}\n\nNo luck as you can see:\n{\n  \"error\": {\n    \"root_cause\": [\n      {\n        \"type\": \"cluster_block_exception\",\n        \"reason\": \"blocked by: [FORBIDDEN/6/cluster read-only (api)];\"\n      }\n    ],\n    \"type\": \"cluster_block_exception\",\n    \"reason\": \"blocked by: [FORBIDDEN/6/cluster read-only (api)];\"\n  },\n  \"status\": 403\n}\n\nAny ideas?\nUPDATE: Problem solved by Andrei Stefan, now for the more important part - why?\nWhat happened and why?\nI've lost all data and my cluster entered a read-only mode.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":16671,"accepted":true,"category":"04-performance-and-load","secondary_categories":["08-spaces-and-rbac"],"sentiment":"negative","tags":[]}
{"id":"so-58490210","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58490210/the-remote-server-returned-an-error-413-request-entity-too-large-elasticsear","posted_at":"2019-10-21T16:11:43.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Hefaz","score":12,"kind":"question","title":"The remote server returned an error: (413) Request Entity Too Large. Elasticsearch and JSON","body":"I am trying to add a JSON file (263 MB) into elasticsearch. I already created a mapping for this file using Kibana, now I am trying to add it into elastic search. I am running this command in PowerShell.\n\nC:\\Users\\Khan> Invoke-RestMethod \"http://localhost:9200/mysofindex/_bulk?pretty\" -Method Post -ContentType 'application/x-ndjson' -InFile \"output.json\"\n\nbut this gives me an error. something like this:\n\nInvoke-RestMethod : The remote server returned an error: (413) Request Entity Too Large.\nAt line:1 char:1\n+ Invoke-RestMethod \"http://localhost:9200/mysofindex/_bulk?pretty\" -Me ...\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebE \n   xception\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand\n\n\nPlease tell me how can i solve this problem?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":38215,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-45727489","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/45727489/how-to-setup-elk-with-node-js","posted_at":"2017-08-17T05:50:28.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"saurav ranjan","score":12,"kind":"question","title":"How to setup ELK with node.js","body":"I want to log error from my node.js server to another server. I'm thinking of using elasticsearch, logstash and kibana. I want to know how to setup ELK with my node server.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":22317,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-53045222","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53045222/what-is-score-in-es-kibana","posted_at":"2018-10-29T12:09:38.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"Blue Moon","score":12,"kind":"question","title":"What is _score in ES/Kibana?","body":"I have this document in ES and I am looking at it through Kibana. \n\nWhat does the _score field represent?\n\n{\n  \"took\": 2,\n  \"timed_out\": false,\n  \"_shards\": {\n    \"total\": 11,\n    \"successful\": 11,\n    \"skipped\": 0,\n    \"failed\": 0\n  },\n  \"hits\": {\n    \"total\": 1,\n    \"max_score\": 0.2876821,\n    \"hits\": [\n      {\n        \"_index\": \"order\",\n        \"_type\": \"ACKNOWLEDGED\",\n        \"_id\": \"9901234567\",\n        \"_score\": 0.2876821,\n        \"_source\": {\n          \"applicationCode\": \"SAPS00\",\n          \"orderId\": \"9901234567\",\n          \"status\": \"ACKNOWLEDGED\",\n          \"orderUpdatedDateTime\": \"2018-07-08T10:12:21Z\",\n          \"totals\": {\n            \"orderShippingTaxAmount\": 3.5,\n            \"orderSubtotalTaxAmount\": 12.55,\n            \"grandTotalTaxAmount\": 15\n          },\n          \"orderLines\": [\n            {\n              \"lineId\": \"1\",\n              \"unitPriceTaxAmount\": 5.45,\n              \"totalPriceTaxAmount\": 10.67,\n              \"lineShippingTaxAmount\": null\n            },\n            {\n              \"lineId\": \"2\",\n              \"unitPriceTaxAmount\": 2.45,\n              \"totalPriceTaxAmount\": 8.67,\n              \"lineShippingTaxAmount\": null\n            }\n          ]\n        }\n      }\n    ]\n  }\n}","product":["kibana"],"versions":["12.55","5.45","10.67","8.67"],"lang":"en","answer_count":2,"view_count":18830,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-37246021","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37246021/is-it-possible-to-run-an-elasticsearch-aggregation-query-in-kibana","posted_at":"2016-05-16T02:49:27.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"mark","score":12,"kind":"question","title":"Is it possible to run an elasticsearch aggregation query in Kibana?","body":"I would like to run the following aggregation query in Kibana:\nGET _search\n{\n  \"size\": 0,\n  \"aggs\": {\n    \"group_by_host\": {\n      \"terms\": {\n        \"field\": \"host\",\n        \"size\": 20\n      }\n    }\n  }\n}\n\nI can run it in the dev tools console (what used to be called Sense), but I would like to run it in the Kibana proper. Having a hard time figuring it out.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":14925,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-55757964","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55757964/set-a-kibana-dashboard-filter-through-the-url","posted_at":"2019-04-19T07:12:30.000Z","captured_at":"2026-04-14T13:23:53.498Z","author":"gbalduzzi","score":12,"kind":"question","title":"Set a Kibana dashboard filter through the url","body":"I created a Kibana dashboard, containing some visualization. I can successfully embed the dashboard using the provided url:\n\n{url}/app/kibana#/dashboard/{dashboard_uuid}?embed=true&_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-1y,mode:quick,to:now))\n\n\nNow, I would like to have any user of my app to see this dashboard, filtered in order to only see their data. The filter query that I need is very simple, because all the data contains a field user_id.\n\nAn example: For the user with identifier $id, I want to load the dashboard with the filter user_id:$id\n\nIn there a way to set the filter through the url? I see there are some parameters already (refreshInterval, time..) but I couldn't find the proper documentation. Any ideas?\n\nUsing Kibana 6.2.2 and ElasticSearch 6.6.0\n\nI tried setting the filters through the _a parameter, as explained here: https://discuss.elastic.co/t/dashboard-search-parameter-via-url/84385 without success.\n\n{url}/app/kibana#/dashboard/{dashboard_uuid}?\n      embed=true&\n      _g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-1y,mode:quick,to:now))&\n      _a=(filters:!(),query:(querystring:(query: \"user_id:1\")))","product":["kibana"],"versions":["6.2.2","6.6.0"],"lang":"en","answer_count":2,"view_count":15811,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","06-sharing-and-export","02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-50532208","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50532208/kibana-error-connecting-to-elasticsearch-using-docker-cannot-revive-connection","posted_at":"2018-05-25T15:08:33.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Chris","score":12,"kind":"question","title":"Kibana Error Connecting to ElasticSearch using Docker - Cannot Revive Connection","body":"I am getting an error attempting to connect Kibana to ES using Docker containers:\n\nkibana-products-624                   | {\"type\":\"log\",\"@timestamp\":\"2018-05-25T14:56:36Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\nkibana-products-624                   | {\"type\":\"log\",\"@timestamp\":\"2018-05-25T14:56:36Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n\nI have tried a number of variations in the environment settings and other configuration for the yml, but continue to get this error.\n\nI have verified that ElasticSearch is running and available at port 9200 using CURL and a browser.\n\nWhat is wrong with this configuration?\n\nHere is the docker-compose.yml:\n\nversion: \"3\"\n\nvolumes:\nelasticsearch-products-624-vol:\n\nnetworks:\nelasticsearch-net-624:\n\nservices:\n\nelasticsearch-products-624-service:\n    image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4\n    container_name: elasticsearch-products-624\n    restart: always\n    networks:\n    - elasticsearch-net-624\n    environment:\n        - cluster.name=docker-cluster\n        - bootstrap.memory_lock=true\n        - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n        - xpack.security.enabled=true\n    ulimits:\n        memlock:\n            soft: -1\n            hard: -1\n    ports:\n    - \"9200:9200\"\n    expose:\n    - \"9200\"\n    volumes:\n    - elasticsearch-products-624-vol:/usr/share/elasticsearch/data\n\nkibana-products-624-service:\n    image: docker.elastic.co/kibana/kibana:6.2.4\n    container_name: kibana-products-624\n    hostname: kibana\n    restart: always\n    networks:\n    - elasticsearch-net-624\n    environment:\n    - SERVER_NAME=kibana.localhost\n    - ELASTICSEARCH_URL=http://elasticsearch:9200\n    - ELASTICSEARCH_USERNAME=elastic\n    - ELASTICSEARCH_HOST=elasticsearch\n    - ELASTICSEARCH_PORT=9200\n    - ELASTIC_PWD=changeme\n    - KIBANA_PWD=changeme\n    ports:\n    - \"5601:5601\"\n    expose:\n    - \"5601\"\n    links:\n    - elasticsearch-products-624-service\n    depends_on:\n    - elasticsearch-products-624-service","product":["kibana"],"versions":["6.2.4"],"lang":"en","answer_count":1,"view_count":10716,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-47193270","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47193270/aws-elasticsearch-vpc-configuring-network-access-from-my-fixed-ip","posted_at":"2017-11-09T03:12:26.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"ericTbear","score":12,"kind":"question","title":"AWS Elasticsearch &amp; VPC - configuring network access from my fixed IP","body":"I am unable to access AWS Elasticsearch Kibana with a browser.\n\nI have set up an Elasticsearch instance within my VPC exactly as described here;\n\nhttps://aws.amazon.com/blogs/aws/amazon-elasticsearch-service-now-supports-vpc/\n\nI used the default IAM access policy template which is basicaly all current IAM profiles (*) \n\nMy EC2 webapp (xenforo forum) is happily connected and chugging away.\n\nI would like to access my elasticsearch domain kibana endpoint via browser from my home PC.\n\nThe security group I attached to the cluster configuration includes a rule to allow ALL TCP inbound from my home broadband fixed IP address.\n\nI log into the AWS console, click the Kibana link from the elasticsearch domain overview and...   nothing, times out.\n\nI have read everything I can find on the matter.  No joy - except perhaps I should be signing my https requests as well which seems crazy complicated and my understanding is that IP access should be configurable with security groups?\n\nCan anyone clarify?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4364,"accepted":false,"category":"12-maps-and-geo","secondary_categories":["13-observability-apm","14-siem-and-security"],"sentiment":"neutral","tags":[]}
{"id":"so-42074221","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42074221/change-type-and-reindex-in-elasticsearch","posted_at":"2017-02-06T17:56:22.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Mike","score":12,"kind":"question","title":"Change type and reindex in Elasticsearch","body":"I recently upgraded my ELK stack (logstash 2.3.4 using redis 3.2.3, Elasticsearch 2.3.5 and Kibana 4.5.4) from (logstash 1.4.1/1.4.2 using redis 2.8.24, Elasticsearch 1.2.2 and Kibana 3.1.1).  The upgrade went well but after the upgrade I had some fields that had conflicting types.  This specific fields were dynamically created by logstash so there was no overall mapping in Elasticsearch.  I spent a fair amount of time searching on how to change this.  Every online article stated I couldn't simply change the field type of the existing data.  Many articles referenced I needed to reindex but failed to explain how.  Below are the exact steps I did to change the type and reindex.\n\nGet the mapping from the current index needing the field type changed:\n\ncurl -XGET http://localhost:9200/logstash-2016.05.30/_mapping?pretty=1 > logstash-2016.05.30\n\n\nEdit the logstash-2016.05.30 file removing the 2nd line (index name) and 2nd last line (curly bracket) in the file.  Failing to do this will NOT update the mappings.  I suppose if you edit the index name to the new name it would work but I didn't try that (should have tried I guess).\n\nEdit the logstash-2016.05.30 file and change the type (i.e. long to string or string to long).  You can use the exactly definition used by a similar field.\n\n\"http_status\" : {\n  \"type\" : \"string\",\n  \"norms\" : {\n    \"enabled\" : false\n  },\n  \"fields\" : {\n    \"raw\" : {\n      \"type\" : \"string\",\n      \"index\" : \"not_analyzed\",\n      \"ignore_above\" : 256\n    }\n  }\n},\n\n\nChange to:\n\n\"http_status\" : {\n  \"type\" : \"long\"\n},\n\n\nNext create the new index (append _new or whatever you want)\n\ncurl -XPUT  http://localhost:9200/logstash-2016.05.30_new -d @logstash-2016.05.30\n\n\nDouble check the mapping was created correctly\n\ncurl -XGET http://localhost:9200/logstash-2016.05.30_new/?pretty\n\n\nReindex using the following:\n\ncurl -XPOST  http://localhost:9200/_reindex -d '{\n\"source\": {\n\"index\" : \"logstash-2016.05.30\"\n},\n\"dest\" : {\n\"index\" : \"logstash-2016.05.30_new\"\n}\n}'\n\n\nCount the entries in both indexes (should be the same)\n\ncurl -XGET http://localhost:9200/logstash-2016.05.30/_count\ncurl -XGET http://localhost:9200/logstash-2016.05.30_new/_count\n\n\nOnce satisfied the reindexing was successfully delete the old index\n\ncurl -XDELETE http://localhost:9200/logstash-2016.05.30\n\n\nCreate an alias so the old index name can still be used\n\ncurl -XPOST  http://localhost:9200/_aliases -d '{\n\"actions\": [\n{ \"add\": {\n\"alias\": \"logstash-2016.05.30\",\n\"index\": \"logstash-2016.05.30_new\"\n}}\n]\n}'\n\n\nLastly, Navigate to Kibana and select Settings and the Index Pattern.  Click the reload icon to refresh the field list.  All conflicts should be removed.\n\nObliviously, this isn't really a question unless you feel this could be done another way or these is a problem with doing this.","product":["kibana"],"versions":["5.4","8.24"],"lang":"en","answer_count":1,"view_count":3883,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load","09-upgrades-and-migration","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-28417650","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28417650/logstash-log-tail-in-browser","posted_at":"2015-02-09T19:24:53.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"arduima","score":12,"kind":"question","title":"Logstash log tail in browser","body":"So I setup Logstash 1.4.2 with ElasticSearch and Kibana using logstash-forwarder(lumberjack) and thats working pretty well but I also wanted to show just a raw log output(maybe searchable) via a browser similar to something like papertrail?\n\nIs this possible, thanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":8856,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-37532648","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37532648/analyzed-or-not-analyzed-what-to-choose","posted_at":"2016-05-30T19:38:39.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"higuita","score":11,"kind":"question","title":"analyzed or not_analyzed, what to choose","body":"I'm using only kibana to search ElasticSearch and i have several fields that can only take a few values (worst case, servername, 30 different values).\n\nI do understand what analyze do to bigger, more complex fields like this, but the small and simple ones i fail to understand the advance/disadvantage of anaylyzed/not_analyzed fields. \n\nSo what are the benefits of using analyzed and not_analyzed for a \"limited set of values\" field (example. servername: server[0-9]* , no special characters to break)? What kind of search types will i lose in kibana? Will i gain any search speed or disk space?\n\nTesting on one of then i saw that the .raw version of the field is now empty but kibana still flags the field as analyzed, so i find my tests inconclusive.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":10169,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-39727874","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39727874/how-to-negate-filter-query-in-kibana","posted_at":"2016-09-27T14:53:47.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Majzlik","score":11,"kind":"question","title":"How to negate filter query in Kibana","body":"I'm using ELK stack and I'm trying to find out how to visualize all logs except of those from specific IP ranges (for example 10.0.0.0/8). Is there any way how to negate filter query:\n\n{\"wildcard\":{\"src_address\":\"10.*\"}}\n\n\nI put it to Buckets -> Split Bars -> Aggregation -> Filters and I would like to negate this query so I got all logs except of those from 10.0.0.0/8  \n\nThis is the whole JSON request:\n\n    {\n      \"query\": {\n        \"filtered\": {\n          \"query\": {\n            \"query_string\": {\n              \"query\": \"low_level_category:\\\"user_authentication_failure\\\" AND NOT src_address:\\\"10.*\\\"\",\n              \"analyze_wildcard\": true\n            }\n          },\n          \"filter\": {\n            \"bool\": {\n              \"must\": [\n                {\n                  \"range\": {\n                    \"@timestamp\": {\n                      \"gte\": 1474384885044,\n                      \"lte\": 1474989685044,\n                      \"format\": \"epoch_millis\"\n                    }\n                  }\n                }\n              ],\n              \"must_not\": []\n            }\n          }\n        }\n      },\n      \"size\": 0,\n      \"aggs\": {\n        \"2\": {\n          \"date_histogram\": {\n            \"field\": \"@timestamp\",\n            \"interval\": \"3h\",\n            \"time_zone\": \"Europe/Berlin\",\n            \"min_doc_count\": 200,\n            \"extended_bounds\": {\n              \"min\": 1474384885043,\n              \"max\": 1474989685043\n            }\n          },\n          \"aggs\": {\n            \"3\": {\n              \"terms\": {\n                \"field\": \"src_address.raw\",\n                \"size\": 5,\n                \"order\": {\n                  \"_count\": \"desc\"\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n\n\nThanks","product":["kibana"],"versions":["10.0.0"],"lang":"en","answer_count":1,"view_count":27143,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","03-visualization-quality","04-performance-and-load"],"sentiment":"neutral","tags":[]}
{"id":"so-64996493","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64996493/regex-search-in-kibana-elasticsearch","posted_at":"2020-11-24T23:44:51.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Syllogism","score":11,"kind":"question","title":"Regex Search in Kibana Elasticsearch","body":"I am trying to use regex in a search within the message of an elastic search dataset. For some reason, I am not able to pass anything in the search bar that the engine doesn't yell at me for.\nI am trying to select a triplet of XXX.XX digits of the form. XXX.XX,XXX.XX,XXX.XX and no matter what I try the engine keeps erroring on me.\nHere is my query\nmessage: /<000-999>/\n\nwhich gives me the following error.\nKQLSyntaxError: Expected AND, OR, end of input, whitespace but \"<\" found. message: \"DWP_Magnet, Value: \" AND message: /<000-999>/\n\nI have read the documentation and my data definitely contains values that I am trying to specify, i.e\nValue: 311.23, 144.00, 155.01\n\ncan anyone give me any insights? is there a way to use Lucene regex to create the following expression?\n/d{3}\\.\\d{2}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":48493,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-39873791","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39873791/filebeat-directly-to-els-or-via-logstash","posted_at":"2016-10-05T12:20:19.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Myles McDonnell","score":11,"kind":"question","title":"FileBeat directly to ELS or via LogStash?","body":"We are installing ELS and Kibana for log aggregation/analysis.  The first system to use it is greenfield so we output structured logs from the services that make up our system.  Given that we don't need to add structure to our logs I was planning on using FileBeat to ship the logs directly to ELS and not use LogStash.  Is this a sensible option or does LogStash have value over and above parsing that we might need? If we do use LogStash can I use that to harvest log files or should I still use FileBeat to pump the logs to LogStash?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":10702,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-29690271","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29690271/new-fields-not-visible-in-kibana","posted_at":"2015-04-17T04:24:05.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"azi","score":11,"kind":"question","title":"New Fields Not Visible in Kibana","body":"I have Kibana 4.0.1 running on top of elasticsearch 1.4.4. It was very smooth and virtually had no setup time. Suddenly I have run into a problem.\n\nIf I add a new field in my elasticsearch index, it's not visible in fields section. I can still query on that field in discover section. But, I can't make a graph based on the new field as it's not visible in fields list.\n\nKibana apparently fetches _mapping at the time of setup and stores it in elasticsearch index named .kibana. Once done, it never changes that. Deleting this index should load fresh _mapping from elasticsearch. But I don't want to lose all the saved dashboards and visualizations.\n\nIs there a was to force Kibana to load fresh mapping at regular interval?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8352,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","04-performance-and-load","05-index-patterns-data-views"],"sentiment":"negative","tags":["discover"]}
{"id":"so-23948695","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23948695/alert-notification-using-kibana3","posted_at":"2014-05-30T06:49:57.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Siddharth Trikha","score":11,"kind":"question","title":"Alert/Notification using Kibana3?","body":"I am using logstash-1.4.1, elasticsearch-1.1.1 and kibana-3.1.0 for analyzing my logs. I am able to view and query my logs.\n\nThere's a need in which an alert/notification is needed when a particular log/event happens. Eg: When a Login failed log occurs again and again, an alert/notification (popup, via mail, etc) is required.\n\nPresently I can query my log like for Failed login, but I want it whenever such a log appears a notification/popup appears than me manually querying for it.\n\nCan this be done using the above three ?? How can this be achieved?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":25448,"accepted":true,"category":"07-alerting-and-watcher","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-30592608","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30592608/or-filter-on-dashboard-in-kibana-4","posted_at":"2015-06-02T09:45:35.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Conffusion","score":11,"kind":"question","title":"OR filter on dashboard in Kibana 4","body":"I want to create a dashboard which shows information about a limited set of request values :\n\nrequest:(\"/path1\" OR \"/path2\" OR \"/path3\")\n\n\nWhat I've tried so far:\n\n\nI can add filters to the dashboard by clicking on a part of a pie chart, but all these filters are applied as AND filters and not OR. This way of working also requires actual data for all possible request values. Which is not always the case in a test environment.\nin Discover I created a saved search but I don't know how I can apply this to my Dashboard so it gets part of the dashboard definition.\n\n\nIs their a way to do this using the Dashboard editor or does it require some json scripting via Settings->Objects->Dashboards ? If so can you point me a good reference to this (escaped) syntax ?\n\nIn Kibana 3 you could define filters of type \"either\". Does this functionality exist in Kibana 4 ?\n\nI'm using Kibana 4.0.2","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":23160,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","03-visualization-quality","10-docs-and-ux"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-38420123","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38420123/bigquery-vs-elasticsearch-for-analysing-and-storing-application-logs","posted_at":"2016-07-17T10:11:44.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"user3628387","score":11,"kind":"question","title":"BigQuery vs Elasticsearch for analysing and storing application logs","body":"I'm investigating the merits of using BigQuery for gaining insights into application logfiles. The logs are produced by Java and C# applications, most of them on cloud-based VMs. I'm interested to hear whether others have done this and of the relative merits of BigQuery vs ElasticSearch/Logstash/Kibana. \n\nThe advantage of BigQuery seems to be that it can deal with huge amounts of data whereas the ELK solutions seems maybe better suited to the non-structured nature of logfiles, especially when they come from different systems.\n\nI'd also like to display information on a dashboard. Kibana seems to be very good for that. How easy is it to create dashboards using the Google solution (using google sheets, etc)?\n\nThoughts, use-cases?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":16649,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-29764230","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29764230/kibana-elasticsearch-without-logstash-possible","posted_at":"2015-04-21T06:10:53.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Bhushan","score":11,"kind":"question","title":"Kibana + Elasticsearch without Logstash possible?","body":"I am kind of new to Logstash. We have a legacy web application which ships logs directly to Redis server in JSON format. Now I want to display that logs on web interface.\n\n What I read about Elasticsearch and Kibana, I am really impressed by their functionalities.\n\nIs that possible to feed logs from redis to directly elasticsearch and then visualized them using Kibana ?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":9076,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-29826619","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29826619/adding-fields-depending-on-event-message-in-logstash-not-working","posted_at":"2015-04-23T14:33:50.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Natsen","score":11,"kind":"question","title":"Adding fields depending on event message in Logstash not working","body":"I have ELK installed and working in my machine, but now I want to do a more complex filtering and field adding depending on event messages.\n\nSpecifically, I want to set \"id_error\" and \"descripcio\" depending on the message pattern.\n\nI have been trying a lot of code combinations in \"logstash.conf\" file, but I am not able to get the expected behavior.\n\nCan someone tell me what I am doing wrong, what I have to do or if this is not possible? Thanks in advance.\n\nThis is my \"logstash.conf\" file, with the last test I have made, resulting in no events captured in Kibana:\n\ninput { \n    file {\n        path => \"C:\\xxx.log\"\n    }\n}\n\nfilter {\n    grok {\n        patterns_dir => \"C:\\elk\\patterns\"\n        match => [ \"message\", \"%{ERROR2:error2}\" ]\n        add_field => [ \"id_error\", \"2\" ]\n        add_field => [ \"descripcio\", \"error2!!!\" ]\n    }\n    grok {\n        patterns_dir => \"C:\\elk\\patterns\"\n        match => [ \"message\", \"%{ERROR1:error1}\" ]\n        add_field => [ \"id_error\", \"1\" ]\n        add_field => [ \"descripcio\", \"error1!!!\" ]\n    }\n    if (\"_grokparsefailure\" in [tags]) { drop {} }\n}\n\noutput {\n  elasticsearch {\n    host => \"localhost\"\n    protocol => \"http\"\n    index => \"xxx-%{+YYYY.MM.dd}\"\n  }\n}\n\n\nI also have tried the following code, resulting in fields \"id_error\" and \"descripcio\" with both vaules \"[1,2]\" and \"[error1!!!,error2!!!]\" respectively, in each matched event.\n\nAs \"break_on_match\" is set \"true\" by default, I expect getting only the fields behind the matching clause, but this doesn't occur.\n\ninput { \n  file {\n    path => \"C:\\xxx.log\"\n  }\n}\n\nfilter {\n  grok {\n    patterns_dir => \"C:\\elk\\patterns\"\n    match => [ \"message\", \"%{ERROR1:error1}\" ]\n    add_field => [ \"id_error\", \"1\" ]\n    add_field => [ \"descripcio\", \"error1!!!\" ]\n    match => [ \"message\", \"%{ERROR2:error2}\" ]\n    add_field => [ \"id_error\", \"2\" ]\n    add_field => [ \"descripcio\", \"error2!!!\" ]\n  }\n  if (\"_grokparsefailure\" in [tags]) { drop {} }\n}\n\noutput {\n  elasticsearch {\n    host => \"localhost\"\n    protocol => \"http\"\n    index => \"xxx-%{+YYYY.MM.dd}\"\n  }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":16778,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-29367032","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29367032/how-do-i-create-a-scripted-field-in-kibana-4-that-uses-aggregation","posted_at":"2015-03-31T10:57:46.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Shubham Mishra","score":11,"kind":"question","title":"How do I create a scripted field in kibana 4 that uses aggregation?","body":"Kibana 4 has a new feature to add scripted fields and write custom scripts. I wish to write a script that uses aggregations. Its easy to do simple arithmetic operations in scripted scripts but for doing aggregations I am puzzled. I am a new comer to Kibana and elasticsearch, I am looking for a sample script for beginning..","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7985,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26881398","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26881398/elasticsearch-kibana-application-side-joins","posted_at":"2014-11-12T07:23:54.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"user167172","score":11,"kind":"question","title":"Elasticsearch / Kibana: Application-side joins","body":"is it possible with Kibana (preferably the shining new version 4 beta) to perform application-side joins? \n\nI know that ES / Kibana is not built to replace relational- databases and it is normally a better idea to denormalize my data. In this use-case however, this is not the best approach since index-size is exploding and performance is dropping:\n\nI'm indexing billions of documents containing session information of network flows like this: source ip, source port, destination ip, destination port, timestamp.\n\nNow I also want to collect additional information for each ip address, such as geolocation, asn, reverse dns etc. Adding this information to every single session document makes the whole database unmanageable: There are millions of documents with the same ip addresses and the redundancy of adding the same additional information to all these documents leads to a massive bloat and an unresponsive user-experience even on a cluster with hundreds of gigabytes of ram.\n\nInstead I would like to create a separate index containing only unique ip addresses and the metadata that I have collected to each one of them.\n\nThe question is: How can I still analyze my data using kibana? For each document returned by the query, kibana should perform a lookup in the ip-index and \"virtually enrich\" each ip address with this information. Something like adding virtual fields so the structure would look like this (on the fly):\n\nsource ip, source port, source country, source asn, source fqdn\n\nI'm aware that this would come at the cost of multiple queries.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1247,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-42781010","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42781010/if-i-know-kibana-can-i-use-grafana","posted_at":"2017-03-14T08:26:29.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"noobalert","score":10,"kind":"question","title":"If I know Kibana, can I use Grafana?","body":"I have experienced using Kibana before. However this time, I'd like to try using Grafana. Does my experience guarantee that I can learn Grafana easily? Or is it a whole lot different from Kibana? \n\nPlease correct me if I'm wrong but so far, according to my research, both are for logs. Grafana is more of visualization only, while Kibana is for searching the logs; is this right?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7333,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-28753921","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28753921/logstash-does-not-parse-json","posted_at":"2015-02-26T22:23:22.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"avasin","score":10,"kind":"question","title":"Logstash does not parse json","body":"When i see results in Kibana, i see that there are no fields from JSON, more over, message field contains only \"status\" : \"FAILED\".\n\nIs it possible to parse fields from json and to show them in Kibana?\nI have following config:\n\ninput {\n  file {\n    type => \"json\"\n    path => \"/home/logstash/test.json\"\n    codec => json\n    sincedb_path => \"/home/logstash/sincedb\"\n  }\n} \n\noutput {\n  stdout {}\n  elasticsearch {\n    protocol => \"http\"\n    codec => \"json\"\n    host => \"elasticsearch.dev\"\n    port => \"9200\"\n  }\n}\n\n\nAnd following JSON file:\n\n[{\"uid\":\"441d1d1dd296fe60\",\"name\":\"test_buylinks\",\"title\":\"Testbuylinks\",\"time\":{\"start\":1419621623182,\"stop\":1419621640491,\"duration\":17309},\"severity\":\"NORMAL\",\"status\":\"FAILED\"},{\"uid\":\"a88c89b377aca0c9\",\"name\":\"test_buylinks\",\"title\":\"Testbuylinks\",\"time\":{\"start\":1419621623182,\"stop\":1419621640634,\"duration\":17452},\"severity\":\"NORMAL\",\"status\":\"FAILED\"},{\"uid\":\"32c3f8b52386c85c\",\"name\":\"test_buylinks\",\"title\":\"Testbuylinks\",\"time\":{\"start\":1419621623185,\"stop\":1419621640826,\"duration\":17641},\"severity\":\"NORMAL\",\"status\":\"FAILED\"}]","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":32731,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-30648488","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30648488/nested-object-in-kibana-visualize","posted_at":"2015-06-04T15:50:35.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"sinaei","score":10,"kind":"question","title":"Nested Object in Kibana visualize","body":"I have uploaded the JSON file in elasticsearch and my mapping contains of some nested objects.\n\nThe problem is that, in Kibana, in visualize I can not see them\n\nThis is my mapping:\n\n\"comments\": {\n    \"type\": \"nested\",\n    \"properties\": {\n        \"count\": {\n            \"type\": \"integer\"\n        },\n        \"data\": {\n            \"type\":\"nested\",\n            \"properties\": {\n                \"created_time\": {\n                    \"type\": \"integer\"\n                }\n            }\n        }\n    }\n}\n\n\nBut in kibana when I insert comments.count I cannot see any result, but in Discover page, the comments.count field is exist! \n\nHow can I search for this field?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":14568,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-34368556","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34368556/how-to-get-fully-dark-kibana","posted_at":"2015-12-19T07:46:43.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Alex","score":10,"kind":"question","title":"how to get fully dark kibana?","body":"I'm starting with kibana and I see a lot of pictures where kibana has different visual than on official web site.\nI like it more but I can't find how to switch on it.\nYou may think that I'm talking bout black dashboard theme but it's not exactly what I'm looking for.\nOn pictures I saw kibana seems to be fully dark and even have different layout.\n\nLet me show\n\n\n\n\n\n\n\nHope now it's understandable what I mean.\n\nIf so, can someone help me and tell how can I get this fully dark kibana ?\nor tell me where I'm wrong","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":17415,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["01-dashboard-authoring","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-31673468","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31673468/kibana-time-delta-between-two-fields","posted_at":"2015-07-28T10:17:18.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Laines","score":10,"kind":"question","title":"Kibana time delta between two fields","body":"I have two fields as part of a log message saved in our ELK cluster:\n\n\"EventTime\": \"2015-07-28 17:03:20\",\n\"EventReceivedTime\": \"2015-07-28 17:03:22\"\n\n\nIs there a way to get the time difference between this fields (in this case 2 sec.) in each log message and display it trough Kibana3?\n\nIf its not possible a direct elasticsearch query would also work.\n\nThanks in advance!","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":22818,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-40826283","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40826283/version-compatibility-between-elasticsearch-and-kibana","posted_at":"2016-11-27T06:13:36.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"kee","score":10,"kind":"question","title":"Version compatibility between ElasticSearch and Kibana","body":"I found it very confusing which version of Kibana to use for my ElasticSearch version (2.4 for example). Is there any chart or table summarizing the version compatibility between ElasticSearch and Kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12118,"accepted":true,"category":"09-upgrades-and-migration","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-35364618","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35364618/how-do-i-show-a-percentage-as-a-metric-in-kibana","posted_at":"2016-02-12T14:07:38.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Return_Of_The_Archons","score":10,"kind":"question","title":"How do I show a percentage as a Metric in Kibana?","body":"I have data that has this format:\n\n{\n    \"area\": \"cats\",\n    \"healthy\": true,\n    \"timestamp\": \"2016-02-12T14:00:00.601000\",\n}\n\n{\n    \"area\": \"dogs\",\n    \"healthy\": false,\n    \"timestamp\": \"2016-02-12T15:00:00.601000\",\n}\n\n\nAs you can see, 'healthy' can be true or false. I want to show the percentage of all records where healthy:true as a Metric in Kibana. I've been trying for several days with no success. It feels like it should be incredibly easy, especially as the pie chart displays it when I hover over it.\n\n\n\nCan you help?\n\nThanks,\nAndy","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":23569,"accepted":true,"category":"03-visualization-quality","secondary_categories":["01-dashboard-authoring"],"sentiment":"positive","tags":[]}
{"id":"so-20040373","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/20040373/kibana-3-milestone-4-and-graphite-integration","posted_at":"2013-11-18T04:58:41.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Vamsi Krishna","score":10,"kind":"question","title":"Kibana 3 Milestone 4 and Graphite Integration","body":"I am having difficulties understanding integration of Graphite and Kibana 3 to monitor logs and system vitals. I am referring to figure in Log management system described here. \n\n\nConsidering the new features in Kibana 3 Milestone 4, can we collect system vitals and store it directly into elastic search instead of graphite and use a single kibana dashboard (What could be right choice to implement in a distributed system where emphasis is on performance and low memory foot print)?\nWhy must we use StatsD and graphite, when count and simple statistics are now supported by kibana - Elasticsearch combination?\nIn case, we decide to use both graphite and kibana, How do we integrate it into a single Dashboard?\nIs there a tutorial to integrate Dashboards (kibana and graphitos/graph explorer/orion/pencil)?\n\n\nThanks in advance.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":10078,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"positive","tags":[]}
{"id":"so-50236113","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50236113/kibana-filter-regex-string-starts-with-doesnt-work","posted_at":"2018-05-08T14:32:02.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Michael Dz","score":10,"kind":"question","title":"Kibana filter regex &#39;string starts with&#39; doesn&#39;t work","body":"In Kibana chart I want to filter all urls that start with string CANCELLED so I wrote a regex: ^CANCELLED.* but when I use filter in Discover tab then I notice that filter doesn't work properly because it also accepts urls with phrase CANCELLED inside of an url. \n\nIs it because Kibana regex uses other character than caret for the beginning of a string?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12707,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-29227392","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29227392/logstash-not-creating-index-on-elasticsearch","posted_at":"2015-03-24T07:52:52.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Karthik Kamalakannan","score":10,"kind":"question","title":"Logstash not creating index on Elasticsearch","body":"I'm trying to setup a ELK stack on EC2, Ubuntu 14.04 instance. But everything install, and everything is working just fine, except for one thing.\n\nLogstash is not creating an index on Elasticsearch. Whenever I try to access Kibana, it wants me to choose an index, from Elasticsearch. \n\nLogstash is in the ES node, but the index is missing. Here's the message I get:\n\n\"Unable to fetch mapping. Do you have indices matching the pattern?\"\n\nAm I missing something out? I followed this tutorial: Digital Ocean\n\nEDIT:\nHere's the screenshot of the error I'm facing: \n\nYet another screenshot:","product":["kibana"],"versions":["14.04"],"lang":"en","answer_count":3,"view_count":23158,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-54623543","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54623543/elastic-apm-http-error-503-queue-is-full","posted_at":"2019-02-11T03:21:28.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Manjunath Reddy","score":10,"kind":"question","title":"Elastic APM HTTP error (503): queue is full","body":"Kibana response is \n\n{\n\"statusCode\": 500,\n\"error\": \"Internal Server Error\",\n\"message\": \"An internal server error occurred\"\n}\n\n\nAPM server returns 503 - Internal Server Error, \nHaving hard time identifying the root cause. Is it ES queue is full or ran out of memory or cluster is not being setup correctly?\n\nAccording to ES documentation: https://www.elastic.co/guide/en/apm/server/master/common-problems.html#queue-full\n\n\n  A full queue generally means that the agents collect more data than\n  APM server is able to process. This might happen when APM Server is\n  not configured properly for the size of your Elasticsearch cluster, or\n  because your Elasticsearch cluster is underpowered or not configured\n  properly for the given workload.\n  \n  The queue can also fill up if Elasticsearch runs out of disk space.\n\n\nDocumentation doesn't help in identifying what could be the root cause. How do we identify the root cause?\n\nRestarting Kibana and Elasticsearch helps but that does not help to identify the root cause","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":24235,"accepted":false,"category":"04-performance-and-load","secondary_categories":["13-observability-apm","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":["apm","oom"]}
{"id":"so-25429377","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25429377/how-can-i-integrate-tomcat6s-catalina-out-file-with-logstash-elasticsearch","posted_at":"2014-08-21T14:46:12.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Mr_Thumb","score":10,"kind":"question","title":"How can I integrate Tomcat6&#39;s catalina.out file with Logstash + ElasticSearch + Kibana?","body":"I want to have a centralized logging server.\n\nI have created two Ubuntu 12.04 LTS servers based on this iso.\n\nAfter successfully and strictly following this tutorial steps, I have:\n\n\nOne Logging Server with Logstash + ElasticSearch + Kibana.\nAnd one Application Server with a Logstash-Forwarder, Tomcat 6 and another app, which logs are being registered in the catalina.out file.\n\n\nMy question is:\n\n\nWhat 'for-dummies' steps should I follow now in order to send catalina.out logs from the App Server to the Logging Server in such a way that those logs are properly structured and query-able in ElasticSearch + Kibana?\n\n\nMind that catalina.out has not just one uniform format, and that multi-line Java exceptions are going to be registered as well.\n\nI have read some tutorials regarding this, but I feel they weren't sufficiently well-explained for a dummy like me: Lacking examples of full paths to files, appropriate file names, required ubuntu commands, and so on.\n\nThanks in advance!","product":["kibana"],"versions":["12.04"],"lang":"en","answer_count":3,"view_count":19080,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-31116977","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31116977/can-i-use-parent-child-relationships-on-kibana","posted_at":"2015-06-29T13:27:36.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"doublebyte","score":10,"kind":"question","title":"Can I use parent-child relationships on Kibana?","body":"On a relational DB, I have two tables connected by a foreign key, on a typical one-to-many relationship. I would like to translate this schema into ElasticSearch, so I researched and found two options: the nested and parent-child. My ultimate goal was to visualize this dataset in Kibana 4.\n\nParent-child seemed the most adequate one, so I'll describe the steps that I followed, based on the official ES documentation and a few examples I found on the web.\n\n curl  -XPUT http://server:port/accident_struct -d '\n{\n \"mappings\" : {\n  \"event\" : {\n  },\n  \"details\": {\n      \"_parent\": {\n        \"type\": \"event\" \n      } ,\n   \"properties\" : {       \n }  \n  }\n }\n}\n';\n\n\nhere I create the index accident_struct, which contains two types (corresponding to the two relational tables): event and details.\n\nEvent is the parent, thus each document of details has an event associated to it.\n\nThen I upload the documents using the bulk API. For event:\n\n{\"index\":{\"_index\":\"accident_struct\",\"_type\":\"event\",\"_id\":\"17f14c32-53ca-4671-b959-cf47e81cf55c\"}}\n{values here...}\n\n\nAnd for details:\n\n{\"index\":{\"_index\":\"accident_struct\",\"_type\":\"details\",\"_id\": \"1\", \"_parent\": \"039c7e18-a24f-402d-b2c8-e5d36b8ad220\" }}\n\n\nThe event does not know anything about children, but each child (details) needs to set its parent. In the ES documentation I see the parent being set using \"parent\", while in other examples I see it using \"_parent\". I wonder what is the correct option (although at this point, none works for me).\n\nThe requests are successfully completed and I can see that the number of documents contained in the index corresponds to the sum of events + types. \n\nI can also query parents for children and children for parents, on ES. For example:\n\ncurl -XPOST host:port/accident_struct/details/_search?pretty -d '{\n    \"query\" : {\n        \"has_parent\" : {\n            \"type\" : \"event\",\n                \"query\" : {\n                    \"match_all\" : {}\n                }\n        }\n    }\n}'\n\n\nAfter setting the index on Kibana, I am able to list all the fields from parent and child. However, if I go to the \"discover\" tab, only the parent fields are listed.\n\nIf I uncheck a box that reads \"hide missing fields\", the fields from the child documents are shown as grey out, along with an error message (see image)\n\n\n\nAm I doing something wrong or is the parent-child not supported in Kibana4? And if it is not supported, what would be the best alternative to represent this type of relationship?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4994,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","01-dashboard-authoring","05-index-patterns-data-views"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-27192552","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27192552/kibana-4-custom-dashboard","posted_at":"2014-11-28T16:16:32.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"nishant","score":10,"kind":"question","title":"Kibana 4 custom dashboard","body":"Kibana 4 with aggregation feature has proved very useful to me, however I need to do application-side join inorder to work with the available data.\n\nIs there a way in kibana 4 to execute a application-side join (set of queries + code) and return a dashboard?\n\nI read online docs of how to do this as scripted dashboard (kibana 3) http://www.elasticsearch.org/guide/en/kibana/current/templated-and-scripted-dashboards.html however my understanding is that this is no longer supported in kibana 4.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":4098,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-22694611","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22694611/setting-up-kibana-on-mac-os-x-mavericks","posted_at":"2014-03-27T17:13:49.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"user3469584","score":9,"kind":"question","title":"Setting Up Kibana on Mac OS X Mavericks","body":"I am trying to learn about the ELK stack (ElasticSearch, Logstash and Kibana). In an effort to get started, I've been running through the \"Getting Started\" guide found at http://logstash.net/docs/1.4.0/tutorials/getting-started-with-logstash. I've been following these steps on a Mac OS X Mavericks installation. I did do one thing different, though.\n\nAfter downloading the Logstash and Elasticsearch tarballs, I copied their contents into the following locations:\n\n\nLogstash: /Applications/dev/logstash/1.4.0/\nElasticsearch: /Applications/dev/Elasticsearch/1.1.0\n\n\nI then start Elasticsearch using the following command from a terminal:\n\nsudo /Applications/dev/Elasticsearch/1.1.0/bin/elasticsearch\n\n\nI then start a new terminal window. In that new terminal window, I start Logstash using the following command:\n\nsudo /Applications/dev/logstash/1.4.0/bin/logstash -e 'input { stdin { } } output { elasticsearch { host => localhost } } '\n\n\nLogstash appears to start just fine. If I enter 'you know, for logs' as mentioned in the getting started guide, I can see the results using POSTMAN. However, I'm stuck on Kibana.\n\nI've downloaded Kibana using the following command:\n\ngit clone https://github.com/elasticsearch/kibana.git kibana\n\n\nI've placed the downloaded files into /Applications/dev/kibana/3.0.0. I'm now stuck on how to actually bring Kibana up in a web browser. I know that somehow I need to serve these files. I see server stuff in this sample. However, I'm not sure if \n\n\nThere is a recommended web server for Kibana \nHow to setup a a web site on a Mac OS X machine. If I were on Windows, I'd just use IIS and point it at my directory. I'm sure there's something similar on Mac OS X. However, I'm not sure what that is.\n\n\nThank you!","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":18272,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-22364598","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22364598/can-we-use-kibana-for-apache-solr-not-using-elasticsearch","posted_at":"2014-03-12T21:47:56.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"LifeLongStudent","score":9,"kind":"question","title":"Can we use Kibana for Apache Solr not using elasticsearch","body":"How to integrate Kibana with Apache solr instead of using elastic search.\n\nIf it cannot be done.\n\nWhat are the alternatives to Kibana for Solr","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":21003,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-36187269","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36187269/kibana-querying-for-string-length","posted_at":"2016-03-23T19:39:57.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Tony Laidig","score":9,"kind":"question","title":"Kibana querying for string length","body":"Is there a way to query for a value of a certain length in Kibana?\n\nFor example, given the following two KV pairs:\n\nkey: \"some\"\nkey: \"something\"\n\n\nI would like to search for key.length > 5 and retrieve \"something\" only. \n\nThe other option I see is to add a tag from logstash, but then I'll have to reload a couple hundred GB.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":38974,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-30216956","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30216956/elasticsearch-lucene-query-string-select-field-x-exists","posted_at":"2015-05-13T13:53:04.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Mischa Arefiev","score":9,"kind":"question","title":"ElasticSearch/Lucene query string — select &quot;field X exists&quot;","body":"How do I query ElasticSearch through Kibana to select items that have field X?\n\nFor example, I have a mapping with fields {\"a\": {\"type\": \"string\"}, \"b\": {\"type\": \"string\"}}, and two documents\n\n{\"a\": \"lalala\"}\n{\"a\": \"enoheo\", \"b\": \"nthtnhnt\"}\n\n\nI want to find the second document without knowing what its b actually is.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":25712,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["12-maps-and-geo","05-index-patterns-data-views"],"sentiment":"neutral","tags":[]}
{"id":"so-49720821","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49720821/how-to-set-an-elasticsearch-output-template-in-logstash","posted_at":"2018-04-08T17:43:36.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Giacomo1968","score":9,"kind":"question","title":"How to set an Elasticsearch output template in Logstash","body":"I’m relatively new to Kibana and the ELK (Elasticsearch, Logstash and Kibana) stack and I’ve been doing pretty well setting one up, but I have run into what I see as an odd issue and need some help understanding what’s happening.\n\nI’m using the ELK stack to crunch some Apache logs but I have my own custom type settings. So I need to explicitly specify field types and such instead of having Logstash (or is it Kibana?) guess what the data mapping would be.\n\nFrom reading the Logstash documentation, it seems pretty clear that I can set the template value in the output.elasticsearch chunk of config shown here:\n\noutput {\n  elasticsearch {\n    hosts => [\"localhost:9200\"]\n    index => \"logstash-apache\"\n    document_id => \"%{[@metadata][fingerprint]}\"\n    manage_template => false\n    template => \"/path/to/logstash/logstash-apache.json\"\n    template_name => \"logstash-apache\"\n    template_overwrite => true\n  }\n  stdout {\n    codec => rubydebug\n  }\n}\n\n\n100% sure I have the correct path set. But for some reason, if I use this, launch Logstash and let it do it’s things, the mappings I have specified in logstash-apache.json don’t show up. The index in Kibana is logstash-apache as well so this should work right?\n\nSo what I do now is preload the mappings template directly into Elasticsearch like this:\n\ncurl -ss -XPUT \"http://localhost:9200/_template/logstash-apache/\" -H 'Content-Type: application/json' -d @\"/path/to/logstash/logstash-apache.json\";\n\n\nAnd it clearly works well and the data gets proper mapping… But doing something like this is fairly clunky. It would be cleaner to just have it all come from the logstash-apache.conf file I have setup.\n\nSo what am I doing wrong? What can I do to have my custom mappings template be used via that logstash-apache.conf without having to jump through the extra hoop of a curl command?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":24094,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-37353365","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37353365/calculating-time-between-events","posted_at":"2016-05-20T18:19:01.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"RaGe","score":9,"kind":"question","title":"Calculating time between events","body":"I have a message that flows through several systems, each system logs message entry and exit with a timestamp and a uuid messageId. I'm ingesting all logs through:\n\nfilebeat --> logstash --> elastic search --> kibana\n\n\nAs a result I now have these events: \n\n@timestamp                      messageId                               event \nMay 19th 2016, 02:55:29.003     00e02f2f-32d5-9509-870a-f80e54dc8775    system1Enter\nMay 19th 2016, 02:55:29.200     00e02f2f-32d5-9509-870a-f80e54dc8775    system1Exit\nMay 19th 2016, 02:55:29.205     00e02f2f-32d5-9509-870a-f80e54dc8775    system2Enter\nMay 19th 2016, 02:55:29.453     00e02f2f-32d5-9509-870a-f80e54dc8775    system2Exit\n\n\nI would like to produce a report (ideally a stacked bar or column) of time spent in each system:\n\nmessageId                               in1:1->2:in2\n00e02f2f-32d5-9509-870a-f80e54dc8775    197:5:248\n\n\nWhat is the best way to do this? Logstash filters? kibana calculated fields?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":14086,"accepted":true,"category":"03-visualization-quality","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-62010914","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62010914/what-is-the-syntax-for-elasticsearch-hosts-in-docker-compose","posted_at":"2020-05-25T21:17:15.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Grant Curell","score":9,"kind":"question","title":"What is the syntax for ELASTICSEARCH_HOSTS in docker-compose?","body":"Trying to figure out Kibana's ELASTICSEARCH_HOSTS syntax, but I receive either:\n\nkib01     |  FATAL  Error: [config validation of [elasticsearch].hosts]: types that failed validation:\nkib01     | - [config validation of [elasticsearch].hosts.0]: expected URI with scheme [http|https].\nkib01     | - [config validation of [elasticsearch].hosts.1]: could not parse array value from json input\n\n\nfrom Kibana itself or:\n\nERROR: The Compose file './docker-compose.yml' is invalid because:\nservices.kibana.environment.ELASTICSEARCH_HOSTS contains [\"http://es01:9200\", \"http://es02:9200\", \"http://es03:9200\", \"http://es04:9200\"], which is an invalid type, it should be a string, number, or a null\n\n\nfrom Docker compose.\n\nMy latest iteration is:\n\nenvironment:\n  ELASTICSEARCH_HOSTS=[\"http://es01:9200\", \"http://es02:9200\", \"http://es03:9200\", \"http://es04:9200\"]\n\n\nI have also tried:\n\nenvironment:\n  - ELASTICSEARCH_HOSTS: '[\"http://es01:9200\", \"http://es02:9200\", \"http://es03:9200\", \"http://es04:9200\"]'\n\n\nI tried turning that into a list:\n\nenvironment:\n  ELASTICSEARCH_HOSTS:\n    - \"<host1>\"\n    - \"<host2>\"\n\n\nI tried removing quotes in various places in the above variation and various combinations on the list. \n\nI also tried a combination from the official documentation using both : and =\n\nwith ELASTICSEARCH_HOST = http://es01:9200, http://es02:9200...\n\nAll have been rejected. Does anyone know the magic syntax to get this to work?\n\nUpdated List of failures:\n\n  ELASTICSEARCH_HOSTS: ['http://es01:9200','http://es02:9200','http://es03:9200','http://es04:9200']\n  ELASTICSEARCH_HOSTS=\"['http://es01:9200','http://es02:9200','http://es03:9200','http://es04:9200']\"\n  - ELASTICSEARCH_HOSTS=['http://es01:9200','http://es02:9200','http://es03:9200','http://es04:9200']\n  - ELASTICSEARCH_HOSTS=\"[\"http://es01:9200\",\"http://es02:9200\",\"http://es03:9200\",\"http://es04:9200\"]\"\n  ELASTICSEARCH_HOSTS:\n    - \"<host1>\"\n    - \"<host2>\"","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":18419,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-57097245","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57097245/kibana-fatal-error-elasticsearch-url-definition-for-this-key-is-missing","posted_at":"2019-07-18T14:45:13.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"user3732793","score":9,"kind":"question","title":"Kibana FATAL Error: [elasticsearch.url]: definition for this key is missing","body":"install and start was ok on a ubuntu 18.04 for kibana but I find this\n\nFATAL  Error: [elasticsearch.url]: definition for this key is missing\n\n\nin /var/log/kibana/kibana.stderr\n\nI have this\n\nserver.port: 5601\nserver.host: \"192.168.56.51\"\nelasticsearch.url: http://localhost:9201\n\n\nin /etc/kibana/kibana.yml\nand when I do a wget http://localhost:9201 on the machine I get the expected index.html\n\nany obvious reason why kibana could complain ?\n\n[Update]\nmeantime I have reinstalled the whole installation and it works for some reason. Howerever in many forums peaple has the same issue, so there might be a pitfallduring the installation.","product":["kibana"],"versions":["18.04"],"lang":"en","answer_count":2,"view_count":12638,"accepted":false,"category":"13-observability-apm","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-29602467","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29602467/can-i-change-top-menu-bar-and-remove-some-options-in-kibana-4","posted_at":"2015-04-13T09:52:51.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"jay j","score":9,"kind":"question","title":"can i change top menu bar and remove some options in kibana-4","body":"I have installed kibana-4 on my Linux machine. My requirement is that I want to delete options like save search fields in my kibana home page and i want to change the top menubar of kibana by my own customized menubar.\nhere 's snapshot of what i want to do.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":9647,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-49634743","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49634743/how-can-you-sort-by-descending-date-time-on-the-kibana-discover-tab","posted_at":"2018-04-03T16:16:53.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"NealWalters","score":9,"kind":"question","title":"How can you sort by descending date/time on the Kibana “Discover” tab","body":"Kibana is a tool that exposes data stored in Elastic Search. Is there way to sort the data on the discover tab by descending date/time, kind of like an EventLog. I have various messages with different index/types being emitted from my programs.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":22684,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":["discover"]}
{"id":"so-51944345","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51944345/elasticsearch-what-is-the-difference-between-an-index-template-and-an-index-pa","posted_at":"2018-08-21T08:10:48.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"CodeMonkey","score":9,"kind":"question","title":"ElasticSearch - what is the difference between an index template and an index pattern","body":"I have read an explanation to my question here:\n\nhttps://discuss.elastic.co/t/whats-the-differece-between-index-pattern-and-index-template/54948\n\nHowever, I still don't understand the difference. When defining an index PATTERN, does it not affect index creation at all? Also, what happens if I create an index but it doesn't have a corresponding index pattern? How can I see the mapping used for an index pattern so I can know how to use the Mapping API to update it?\n\nAnd on a side note, the docs say you manage the index patterns by clicking the \"Settings\" and then \"Indices\" tab. I'm looking at Kibana and I don't see any settings tab. I can view the index patterns through the management tab, but I don't see any settings tab there","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8416,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-29643060","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29643060/messageno-living-connections-node-envproduction","posted_at":"2015-04-15T06:30:56.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"jay j","score":9,"kind":"question","title":"&quot;message&quot;:&quot;No living connections&quot;,&quot;node_env&quot;:&quot;production&quot;","body":"I'am trying to install Kibana 4 in my machine but it's giving the following errors.\n\n{\"@timestamp\":\"2015-04-15T06:25:50.688Z\",\"level\":\"error\",\"node_env\":\"production\",\"error\":\"Request error, retrying -- connect ECONNREFUSED\"}\n{\"@timestamp\":\"2015-04-15T06:25:50.693Z\",\"level\":\"warn\",\"message\":\"Unable to revive connection: http://0.0.0.0:9200/\",\"node_env\":\"production\"}\n{\"@timestamp\":\"2015-04-15T06:25:50.693Z\",\"level\":\"warn\",\"message\":\"No living connections\",\"node_env\":\"production\"}\n{\"@timestamp\":\"2015-04-15T06:25:50.698Z\",\"level\":\"fatal\",\"message\":\"No Living connections\",\"node_env\":\"production\",\"error\":{\"message\":\"No Living connections\",\"name\":\"Error\",\"stack\":\"Error: No Living connections\\n  at sendReqWithConnection (/home/kibana-4.0.0-rc1-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:174:15)\\n","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":35542,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-46975434","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46975434/querying-for-exact-match-in-kibana","posted_at":"2017-10-27T12:47:30.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"Amiga500","score":9,"kind":"question","title":"Querying for exact match in Kibana","body":"In my Kibana, when I search my document I need to look for exact match:\nIn my document I have a field named message.\n\nSo If I search (Using Kibana) something like:\n\n\n  message: \"Provider replied with error code 2006\"\n\n\nI get all the documents that have one instance of those words.\nI would like to have exact match.\n\nI am running Kibana: 5.3.2. and Elasticsearch is 5.3.2","product":["kibana"],"versions":["5.3.2"],"lang":"en","answer_count":1,"view_count":8466,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-21724445","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21724445/logstash-multiple-logfiles-with-different-pattern","posted_at":"2014-02-12T09:57:45.000Z","captured_at":"2026-04-14T13:23:54.166Z","author":"user3300940","score":9,"kind":"question","title":"logstash: multiple logfiles with different pattern","body":"We want to set up a server for logstash for a couple of different project in our company. Now I try to enable them in Kibana. My question is: \nIf I have different patterns of the logfiles, how can I build for them a filter? \nexample: logstash.conf:\n\ninput {\n  file {\n    type => \"A\"\n    path => \"/home/logstash/A/*\"\n    start_position => \"beginning\"\n  }\n file {\n    type => \"B\"\n    path => \"/home/logstash/B*\"\n    start_position => \"beginning\"\n  }\n}\n\nfilter {\n  multiline {\n      pattern => \"^%{TIMESTAMP_ISO8601}\"\n      negate => true\n      what => \"previous\"\n  }\n  grok {\n     type => A\n     match => [ \"message\", \"%{TIMESTAMP_ISO8601:logdate} %{DATA:thread %{LOGLEVEL:level}\\s*%{DATA:logger_name}\\s*-\\s*%{GREEDYDATA:log_text}\"]\n\n    add_tag => [ \"level_%{level}\" ]\n  }\n  date {\n        match => [\"logdate\", \"YYYY-MM-dd HH:mm:ss,SSS\"]\n  }\n  grok {\n        type => B\n        match => [ any other pattern ... \n }\n}\noutput {\n  elasticsearch { embedded => true }\n}\n\n\ndo I have to create for each project (A,B,C,...) an own filter, and what do I have to do, when I have for each project again different pattern of the logfiles?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":17280,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-35272459","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35272459/kibana-joining-two-documents-in-table-visualization","posted_at":"2016-02-08T14:49:56.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Loic Duros","score":9,"kind":"question","title":"Kibana: joining two documents in table visualization","body":"I have a data table visualization displaying fields from documents that have an email address and an id:\n\ntimestamp |         email       |  field_id\n Feb 5th       [email protected]       xyz123\n\n\nThese fields belong to the same elastic document. However, I have other documents with extra information pertaining to this unique id, and can display these as their own table:\n\ntimestamp |  field_id   |    key1   |   key2   |  key3\n  Feb 6th     xyz123         val1       val2      val3\n\n\nYou can see the row in the first table and the one on the second table have the field_id in common. What I'd like to know is whether it is possible to display a merged row with Kibana and/or an elastic query:\n\n field_id   |     email      |    key1   |   key2   |  key3\n   xyz123     [email protected]      val1       val2      val3\n\n\nThis would be somewhat equivalent to a join for a relation database in SQL. If this is not possible in Kibana, maybe there is a way to achieve this indirectly with a query using the json input with elastic and perform a kind of application-side join?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12431,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-29177801","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29177801/is-it-possible-to-create-an-xy-aka-scatter-plot-using-kibana-4","posted_at":"2015-03-21T00:21:31.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Matt Ball","score":9,"kind":"question","title":"Is it possible to create an XY (aka scatter) plot using Kibana 4?","body":"I have a few million documents in an ElasticSearch index with some numeric fields, say foo and bar. Is there any way to use Kibana 4 to create a graph with foo values on the X axis and bar values on the Y axis? Like a very, very basic chart one might create using Excel.\n\nI'm fine with sampling/aggregations of some kind. I understand that these tools won't show me a plot with 20 million data points. I'm just trying to see if there's some obvious relationship between foo and bar by creating a graph.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8988,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-59634839","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59634839/filter-square-brackets-on-kibana","posted_at":"2020-01-07T19:25:12.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Jo&#227;o Menighin","score":9,"kind":"question","title":"Filter square brackets on Kibana","body":"I'm struggling to filter square brackets on my log messages in Kibana.\nSuppose I have the messages:\n\n[BOOK] The Book 32 was sold\nException on buying BOOK\n\n\nAnd I want to filter only messages having exactly [BOOK] (so I should get only the first one).\n\nI have tried filtering free text with all kinds of escaping I could think of:\n\n[BOOK]\n\"[BOOK]\"\n\\[BOOK\\]\n\"\\[BOOK\\]\"\n\\\\[BOOK\\\\]\n\n\n\nAnd also tried filtering by the message field:\n\nmessage: [BOOK]*\nmessage: \"[BOOK]*\"\nmessage: \\[BOOK\\]*\nmessage: \"\\[BOOK\\]*\"\n\n\nBut Kibana seems to simply ignore the square brackets and always brings both messages, highlighting only the BOOK word.\n\nHow can I force it search for the []?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8217,"accepted":true,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-33976989","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33976989/kibana-searching-for-a-specific-phrase-returns-without-results-while-another","posted_at":"2015-11-28T22:09:11.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"alonisser","score":9,"kind":"question","title":"Kibana: searching for a specific phrase, returns without results, while another search returns the phrase","body":"Looks like a simple usecase but for some reason I just can't figure out how to do this, or google a clear example.\n\nLets say I have a message stored in logstash\nmessage:\n\n\n  \"info: 2015-11-28 22:02:19,232:common:INFO:ENV: Production\n  User:None:Username:None:LOG: publishing to bus \"\n\n\nAnd I want to search in kibana (version 4) for the phrase:\"publishing to bus\"\nI'll get a set of results\nBut if I'll search for: \"None:LOG: publishing to bus\"\nThen I get \"No results found\".\n\nWhile Obviously this phrase does exists and is returned by the previous search.\n\nSo my question is basically - What is going on? What is the correct way to search for a possible long phrase and why does the second example fail.\n\nEDIT:\nThe stored JSON.\n\n{\n  \"_index\": \"logz-ngdxrkmolklnvngumaitximbohqwbocg-151206_v1\",\n  \"_type\": \"django_logger\",\n  \"_id\": \"AVF2DPxZZst_8_8_m-se\",\n  \"_score\": null,\n  \"_source\": {\n    \"log\": \" publishing to bus {'user_id': 8866, 'event_id': 'aibRBPcLxcAzsEVRtFZVU5', 'timestamp': 1449384441, 'quotes': {}, 'rates': {u'EURUSD': Decimal('1.061025'), u'GBPUSD': Decimal('1.494125'), u'EURGBP': Decimal('0.710150')}, 'event': 'AccountInstrumentsUpdated', 'minute': 1449384420}\",\n    \"logger\": \"common\",\n    \"log_level\": \"INFO\",\n    \"message\": \"2015-12-06 06:47:21,298:common:INFO:ENV: Production User:None:Username:None:LOG: publishing to bus {'user_id': 8866, 'event_id': 'aibRBPcLxcAzsEVRtFZVU5', 'timestamp': 1449384441, 'quotes': {}, 'rates': {u'EURUSD': Decimal('1.061025'), u'GBPUSD': Decimal('1.494125'), u'EURGBP': Decimal('0.710150')}, 'event': 'AccountInstrumentsUpdated', 'minute': 1449384420}\",\n    \"type\": \"django_logger\",\n    \"tags\": [\n      \"celery\"\n    ],\n    \"path\": \"//path/to/logs/out.log\",\n    \"environment\": \"Staging\",\n    \"@timestamp\": \"2015-12-06T06:47:21.298+00:00\",\n    \"user_id\": \"None\",\n    \"host\": \"path.to.host\",\n    \"timestamp\": \"2015-12-06 06:47:21,298\",\n    \"username\": \"None\"\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1449384441298\n    ]\n  },\n  \"highlight\": {\n    \"message\": [\n      \"2015-12-06 06:47:21,298:common:INFO:ENV: Staging User:None:Username:None:LOG: @kibana-highlighted-field@publishing@/kibana-highlighted-field@ @kibana-highlighted-field@to@/kibana-highlighted-field@ @kibana-highlighted-field@bus@/kibana-highlighted-field@ {'user_id': **, 'event_id': 'aibRBPcLxcAzsEVRtFZVU5', 'timestamp': 1449384441, 'quotes': {}, 'rates': {u'EURUSD': Decimal('1.061025'), u'GBPUSD': Decimal('1.494125'), u'EURGBP': Decimal('0.710150')}, 'event': 'AccountInstrumentsUpdated', 'minute': 1449384420}\"\n    ]\n  },\n  \"sort\": [\n    1449384441298\n  ]\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":326,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["13-observability-apm"],"sentiment":"negative","tags":[]}
{"id":"so-24048480","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24048480/kibana-logstash-table-row-color-based-on-log-level","posted_at":"2014-06-04T22:11:50.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Steve-B","score":9,"kind":"question","title":"kibana logstash table row color based on log level","body":"This seems all too simple but I haven't been able to find anything on the internet about it. \n\nI'm setting up Kibana to visualise our logs (log4j). I would like WARN and ERROR (loglevel field in ElasticSearch) to be in another colour in the table view of entries returned from a query. Is this possible?\n\nThanks, \nSteve","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3729,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-54018645","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54018645/elasticsearch-kibana-noshardsavailableexception","posted_at":"2019-01-03T08:24:30.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"pkaramol","score":8,"kind":"question","title":"Elasticsearch / Kibana: NoShardsAvailableException","body":"I am setting up a 7 node cluster with 3 Masters / 3 Data / 1 Coordinating node \n\nThe cluster is deployed on AWS with ec2 discovery plugin.\nThe nodes are using Amazon Linux 2 and the ES/Kibana versions are 6.4.2\n\nkibana.yml:\n\nserver.port: 8080\nserver.host: 10.11.11.11 # private ip of node\nelasticsearch.url: \"http://localhost:9200\"\n\n\n/etc/elasticsearch/elasticsearch.yml\n\ncluster.name: elastic-cluster-prod\n\npath.data: /elastic_data\n\npath.logs: /var/log/elasticsearch\nbootstrap.memory_lock: true\n\nnetwork.host: 0.0.0.0\ndiscovery.ec2.endpoint: ec2.eu-west-1.amazonaws.com\ndiscovery.ec2.host_type: private_ip\ndiscovery.zen.hosts_provider: ec2\nhttp.port: 9200\ndiscovery.zen.minimum_master_nodes: 2\nnode.master: false\nnode.data: false\nnode.ingest: false\ns3.client.default.endpoint: s3-eu-west-1.amazonaws.com\ntransport.tcp.port: 9300\nnode.name: es-prod-coord\naction.auto_create_index: true\ntransport.host: _ec2:privateIp_\n\n\nHowever, although all other nodes seem healthy, coordinating node fails:\n\nkibana.log\n\n{\"type\":\"error\",\"@timestamp\":\"2019-01-03T08:18:17Z\",\"tags\":[\"warning\",\"stats-collection\"],\"pid\":2907,\"level\":\"error\",\"error\":{\"message\":\"[no_shard_available_action_exception] No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]]\",\"name\":\"Error\",\"stack\":\"[no_shard_available_action_exception] No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]] :: {\\\"path\\\":\\\"/.kibana/doc/config%3A6.4.2\\\",\\\"query\\\":{},\\\"statusCode\\\":503,\\\"response\\\":\\\"{\\\\\\\"error\\\\\\\":{\\\\\\\"root_cause\\\\\\\":[{\\\\\\\"type\\\\\\\":\\\\\\\"no_shard_available_action_exception\\\\\\\",\\\\\\\"reason\\\\\\\":\\\\\\\"No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]]\\\\\\\"}],\\\\\\\"type\\\\\\\":\\\\\\\"no_shard_available_action_exception\\\\\\\",\\\\\\\"reason\\\\\\\":\\\\\\\"No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]]\\\\\\\"},\\\\\\\"status\\\\\\\":503}\\\"}\\n    at respond (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:307:15)\\n    at checkRespForFailure (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:266:7)\\n    at HttpConnector.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:159:7)\\n    at IncomingMessage.bound (/usr/share/kibana/node_modules/elasticsearch/node_modules/lodash/dist/lodash.js:729:21)\\n    at emitNone (events.js:111:20)\\n    at IncomingMessage.emit (events.js:208:7)\\n    at endReadableNT (_stream_readable.js:1064:12)\\n    at _combinedTickCallback (internal/process/next_tick.js:138:11)\\n    at process._tickDomainCallback (internal/process/next_tick.js:218:9)\"},\"message\":\"[no_shard_available_action_exception] No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]]\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-01-03T08:18:17Z\",\"tags\":[\"warning\",\"stats-collection\"],\"pid\":2907,\"message\":\"Unable to fetch data from kibana_settings collector\"}\n\n\n/var/log/elasticsearch/<cluster-name>.log\n\n[2019-01-03T08:19:17,969][WARN ][r.suppressed             ] path: /.kibana/doc/config%3A6.4.2, params: {index=.kibana, id=config:6.4.2, type=doc}\norg.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.kibana][doc][config:6.4.2]: routing [null]]\n    at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:207) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.start(TransportSingleShardAction.java:186) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:95) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.single.shard.TransportSingleShardAction.doExecute(TransportSingleShardAction.java:59) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.TransportAction.doExecute(TransportAction.java:143) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:167) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.apply(SecurityActionFilter.java:126) ~[?:?]\n    at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:165) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:139) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:407) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.client.support.AbstractClient.get(AbstractClient.java:499) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.rest.action.document.RestGetAction.lambda$prepareRequest$0(RestGetAction.java:81) ~[elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:97) [elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.xpack.security.rest.SecurityRestFilter.handleRequest(SecurityRestFilter.java:72) [x-pack-security-6.4.2.jar:6.4.2]\n    at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:239) [elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:335) [elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:173) [elasticsearch-6.4.2.jar:6.4.2]\n    at org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:538) [transport-netty4-6.4.2.jar:6.4.2]\n    at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:137) [transport-netty4-6.4.2.jar:6.4.2]\n    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at org.elasticsearch.http.netty4.pipelining.HttpPipeliningHandler.channelRead(HttpPipeliningHandler.java:68) [transport-netty4-6.4.2.jar:6.4.2]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [netty-codec-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [netty-handler-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:545) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:499) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) [netty-transport-4.1.16.Final.jar:4.1.16.Final]\n    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-common-4.1.16.Final.jar:4.1.16.Final]\n    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]\n\n\nedit:\n\ncurl -XGET http://<host>:9200/_cat/indices?v\nhealth status index   uuid                   pri rep docs.count docs.deleted store.size pri.store.size\nyellow open   .kibana Z04tBGcDQ7OLRqjciAqiDA   1   1   \n\n\ncurl -XGET http://<host>:9200/_cat/shards?v\nindex   shard prirep state      docs store ip node\n.kibana 0     p      UNASSIGNED               \n.kibana 0     r      UNASSIGNED   \n\ncurl -XGET -H 'Content-Type: application/json' http://<host>:9200/_cluster/allocation/explain -d '{\"index\": \".kibana\",\"shard\": 0,\"primary\": true}'\n{\"index\":\".kibana\",\"shard\":0,\"primary\":true,\"current_state\":\"unassigned\",\"unassigned_info\":{\"reason\":\"INDEX_CREATED\",\"at\":\"2019-01-03T09:26:19.270Z\",\"last_allocation_status\":\"no_attempt\"},\"can_allocate\":\"no\",\"allocate_explanation\":\"cannot allocate because allocation is not permitted to any of the nodes\"}","product":["kibana"],"versions":["6.4.2","10.11.11"],"lang":"en","answer_count":1,"view_count":41507,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["07-alerting-and-watcher","14-siem-and-security","15-plugin-and-ecosystem"],"sentiment":"negative","tags":[]}
{"id":"so-34347258","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34347258/logstash-to-convert-epoch-timestamp","posted_at":"2015-12-18T01:37:59.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Swikrit","score":8,"kind":"question","title":"Logstash to convert epoch timestamp","body":"I'm trying to parse some epoch timestamps to be something more readable.\n\nI looked around for how to parse them into a normal time, and from what I understand all I should have to do is something like this:\n\nmutate\n{\n    remove_field => [ \"...\"]\n}\n\ngrok\n{\n    match => { 'message' => '%{NUMBER:time}%{SPACE}%{NUMBER:time2}...' }\n}\n\ndate\n{\n    match => [ \"time\",\"UNIX\" ]\n}\n\n\nAn example of a message is: 1410811884.84 1406931111.00 ....\nThe first two values should be UNIX time values.\n\nMy grok works, because all of the fields show in Kibana with the expected values, and all the values fields I've removed aren't there so the mutate works too. The date section seems to do nothing.\n\nFrom what I understand the match => [ \"time\",\"UNIX\" ]  should do what I want (Change the value of time to be a proper date format, and have it show on kibana as a field.) . So apparently I'm not understanding it.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":22402,"accepted":true,"category":"04-performance-and-load","secondary_categories":["12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-57974917","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57974917/delete-data-older-than-10-days-in-elasticsearch","posted_at":"2019-09-17T13:06:59.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Kavya","score":8,"kind":"question","title":"Delete data older than 10 days in elasticsearch","body":"I am new to elasticsearch and I want to delete documents in my elasticsearch index which are older than 10 days. I want to keep only last 10 days of data.So is there any way to delete last 11nth day index automatically.\nWhat I have tried..\n\nDELETE logstash-*/_query\n{\n \"query\": {\n   \"range\": {\n     \"@timestamp\": {\n       \"lte\": \"now-10d\"\n      }\n    }\n  }\n}\n\n\nError I'm getting while running on kibana dev tools\n\n{\n\"error\": \"Incorrect HTTP method for uri [/logstash-*/_query?pretty] and method [DELETE], \nallowed: [POST]\",\n\"status\": 405\n}\n\n\nPlease help to resolve this issues.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":25349,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-54626787","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54626787/kibana-windows-zip-distribution-takes-too-long-to-unzip","posted_at":"2019-02-11T08:50:04.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Shailesh Pratapwar","score":8,"kind":"question","title":"Kibana Windows zip distribution takes too long to unzip","body":"I have downloaded latest kibana OSS zip file from here.\nHowever I noticed its taking too long to extract the zip on Windows default zip extract utility.\n\n\n\nIs it meant to be this much time consuming Or do I need to change anything on my machine to improve it ?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3037,"accepted":false,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-52628605","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52628605/how-do-i-setup-ingress-for-kibana-in-kubernetes","posted_at":"2018-10-03T13:51:49.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Garreth","score":8,"kind":"question","title":"How do I setup ingress for Kibana in Kubernetes","body":"I have just installed an EFK stack on my Kubernetes cluster using the guide on https://medium.com/@timfpark/efk-logging-on-kubernetes-on-azure-4c54402459c4\n\nI have it working when accessing it through the proxy as stated in the guide on\n\nhttp://localhost:8001/api/v1/namespaces/kube-system/services/kibana-logging/proxy\n\nHowever, I want it to work through my existing ingress controller so I have created a new ingress rule using the yaml below:\n\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n  annotations:\n    kubernetes.io/ingress.class: nginx\n  generation: 2\n  labels:\n    app: kibana\n  name: kibana\n  namespace: kube-system\nspec:\n  rules:\n  - host: kibana.dev.example1.com\n    http:\n      paths:\n      - backend:\n          serviceName: kibana-logging\n          servicePort: 5601\n        path: /\nstatus:\n  loadBalancer:\n    ingress:\n    - {}\n\n\nTo my service which runs as:\n\napiVersion: v1\nkind: Service\nmetadata:\n  labels:\n    addonmanager.kubernetes.io/mode: Reconcile\n    k8s-app: kibana-logging\n    kubernetes.io/cluster-service: \"true\"\n    kubernetes.io/name: Kibana\n  name: kibana-logging\n  namespace: kube-system\nspec:\n  clusterIP: X.X.195.49\n  ports:\n  - port: 5601\n    protocol: TCP\n    targetPort: ui\n  selector:\n    k8s-app: kibana-logging\n  sessionAffinity: None\n  type: ClusterIP\nstatus:\n  loadBalancer: {}\n\n\nHowever, when I try and access my URL:\nhttp://kibana.dev.example1.com\n\nI get: {\"statusCode\":404,\"error\":\"Not Found\",\"message\":\"Not Found\"}\n\nIf I try and access: http://kibana.dev.example1.com/app/kibana#\n\nI get: \"Kibana did not load properly. Check the server output for more information.\"\n\nAfter looking through the logs for both Kibana pod and ingress pod and comparing the results between a successful request through the proxy and an unsuccessful request through the ingress I can see that...\n\nfor hitting /\n\n\"GET / HTTP/1.1\" 200 197 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15\" 491 0.003 [kube-system-kibana-logging-5601] X.X.22.204:5601 197 0.003 200 6101a7003003d34636d2012e53c23ca7\n\"GET /api/v1/namespaces/kube-system/services/kibana-logging/proxy/app/kibana HTTP/1.1\" 404 85 \"http://kibana.dev.example1.com/\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15\" 612 0.003 [kube-system-kibana-logging-5601] X.X.22.204:5601 85 0.003 404 5809ac2b33d3e23b200b13c9971d8520\n\n\nfor hitting /app/kibana#\n\n\"GET /app HTTP/1.1\" 404 85 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15\" 470 0.003 [kube-system-kibana-logging-5601] X.X.22.204:5601 85 0.003 404 54a4abe0cae6d3d4298847a0db0786d6\n\"GET /app/kibana HTTP/1.1\" 200 13301 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15\" 477 0.041 [kube-system-kibana-logging-5601] X.X.22.204:5601 13272 0.040 200 6cb7e7698f5c72e0cd06b3408d8d4673\n\"GET /api/v1/namespaces/kube-system/services/kibana-logging/proxy/bundles/kibana.style.css?v=16627 HTTP/1.1\" 404 85 \"https://kibana.dev.example1.com/app/kibana\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15\" 576 0.004 [kube-system-kibana-logging-5601] X.X.22.204:5601 85 0.004 404 0b825f03c36c2225ab082c2a0bab15f4\n\n\nWhen hitting through the proxy most of these requests return 302s rather than 404s.  Can the ingress not access these URLs in namespace kube-system?\n\nAm I missing something obvious here - maybe hitting the wrong Kibana URL?  I've done a lot of googling and can't find anything similar.","product":["kibana"],"versions":["5.0","12.0"],"lang":"en","answer_count":2,"view_count":14010,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["04-performance-and-load","08-spaces-and-rbac","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-27928479","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27928479/fluentd-loses-milliseconds-and-now-log-messages-are-stored-out-of-order-in-elast","posted_at":"2015-01-13T17:59:40.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"David Wartell","score":8,"kind":"question","title":"fluentd loses milliseconds and now log messages are stored out of order in elasticsearch","body":"I am using fluentd to centralize log messages in elasticsearch and view them with kibana.  When I view log messages, messages that occured in the same second are out of order and the milliseconds in @timestamp is all zeros\n\n2015-01-13T11:54:01.000-06:00   DEBUG   my message\n\n\nHow do I get fluentd to store milliseconds?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":14676,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-36266776","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36266776/kibana-server-basepath-results-in-404","posted_at":"2016-03-28T16:46:29.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Nathan Reese","score":8,"kind":"question","title":"kibana server.basePath results in 404","body":"I am running kibana 4.4.1 on RHEL 7.2\n\nEverything works when the kibana.yml file does not contain the setting server.basePath. Kibana successfully starts and spits out the message\n\n[info][listening] Server running at http://x.x.x.x:5601/\n\n\ncurl http://x.x.x.x:5601/app/kibana returns the expected HTML. \n\nHowever, when basePath is set to  server.basePath: \"/kibana4\", http://x.x.x.x:5601/kibana4/app/kibana results in a 404. Why?\n\nThe server successfully starts with the same logging\n\n[info][listening] Server running at http://x.x.x.x:5601/\n\n\nbut \n\ncurl http://x.x.x.x:5601/ returns \n\n<script>\n  var hashRoute = '/kibana4/app/kibana';\n  var defaultRoute = '/kibana4/app/kibana';\n  ...\n</script>\n\n\ncurl http://x.x.x.x:5601/kibana4/app/kibana returns\n\n{\"statusCode\":404,\"error\":\"Not Found\"}\n\n\nWhy does '/kibana4/app/kibana' return a 404?","product":["kibana"],"versions":["7.2"],"lang":"en","answer_count":3,"view_count":17716,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-47410250","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47410250/create-index-patterns-from-console-with-kibana-6-0-or-7-v7-0-1","posted_at":"2017-11-21T10:02:56.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Julen Cestero","score":8,"kind":"question","title":"Create index-patterns from console with Kibana 6.0 or 7+ (v7.0.1)","body":"I recently upgraded my ElasticStack instance from 5.5 to 6.0, and it seems that some of the breaking changes of this version have harmed my pipeline. I had a script that, depending on the indices inside ElasticSearch, created index-patterns automatically for some groups of similar indices. The problem is that with the new mapping changes of the 6.0 version, I cannot add any new index-pattern from the console. This was the request I used and worked fine in 5.5:\ncurl -XPOST \"http://localhost:9200/.kibana/index-pattern\" -H 'Content-  Type: application/json' -d'\n{\n  \"title\" : \"index_name\",\n  \"timeFieldName\" : \"execution_time\"\n}'\n\nThis is the response I get now, in 6.0, from ElasticSearch:\n{\n  \"error\": {\n    \"root_cause\": [\n      {\n        \"type\": \"illegal_argument_exception\",\n        \"reason\": \"Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [index-pattern, doc]\"\n      }\n    ],\n    \"type\": \"illegal_argument_exception\",\n    \"reason\": \"Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [index-pattern, doc]\"\n  },\n  \"status\": 400\n}\n\nHow could I add index-patterns from the console avoiding this multiple mapping issue?","product":["kibana"],"versions":["6.0","5.5"],"lang":"en","answer_count":5,"view_count":12589,"accepted":true,"category":"09-upgrades-and-migration","secondary_categories":["04-performance-and-load","12-maps-and-geo","05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-40241904","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40241904/kibana-filter-on-count-greater-than-or-equal-to-x","posted_at":"2016-10-25T13:53:19.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Rick van Lieshout","score":8,"kind":"question","title":"Kibana, filter on count greater than or equal to X","body":"I'm using Kibana to visualize some (Elasticsearch) data but I'd like to filter out all the results with \"Count\" less than 1000 (X).\n\nI am using an Y-axis with a \"count Aggregation\", this is the count I'd like to filter on. I tried adding in a min_document_count as suggested by several online resources but this didn't change anything. Any help would be greatly appreciated.\n\nMy entire Kibana \"data\" tab:","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":27429,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"neutral","tags":[]}
{"id":"so-28529658","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28529658/how-to-delete-older-logs-in-elk-to-give-each-application-a-certain-disk-quota","posted_at":"2015-02-15T18:38:43.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Gabriel C","score":8,"kind":"question","title":"How to delete older logs in ELK to give each application a certain disk quota","body":"I am trying to use the ELK (Elasticsearch+Logstash+Kibana) stack in the following scenario:\n\nI have about ten applications that send their logs, through Logstash, to a single Elasticsearch cluster.\n\nSome of these applications naturally generate more logs than others, and, sometimes, one of them can go 'crazy', because of a bug, for instance, and, thus, generate even more log entries than it normally does. As a result, the disk space available in the cluster can be unfairly 'taken' by the logs of a single application, leaving not enough room to others.\n\nI am currently managing the available disk space through Elasticsearch Curator. It runs periodically, as it is in the crontab, and deletes older indices based on a disk usage quota. When the disk space used by all indices exceeds a certain limit, the oldest indices are deleted, one by one, until the sum of the disk space used by them all is within the specified limit again.\n\nThe first problem with this approach is that Elasticsearch Curator can only delete entire indices. Hence, I had to configure Logstash to create one different index per hour, and increase their granularity; thus, Curator deletes smaller chunks of logs at a time. In addition, it is very difficult to decide how often Curator should run. If applications are generating logs at a higher rate, not even one-hour indices may be enough. Secondly, there is no way to specify a disk usage quota for each different application.\n\nIdeally, Elasticsearch should be able to delete older log entries by itself whenever the indices reach a certain disk usage limit. This would eliminate the problem of defining how often Curator should run. However, I could not find any similar feature in the Elasticsearch manual. \n\nWould anybody recommend a different approach to address these issues?\n\nReferences:\nhttp://www.elasticsearch.org\nhttps://github.com/elasticsearch/curator","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":20659,"accepted":false,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-65368970","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/65368970/kibana-throwing-429-too-many-requests-when-trying-to-create-an-index-pattern","posted_at":"2020-12-19T10:47:02.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"bcsta","score":8,"kind":"question","title":"Kibana throwing 429 (Too many requests) when trying to create an index pattern","body":"I have an elasticsearch index (150kb only) which I want to visualise in kibana. After going to stack management > index patterns > crate new index pattern a 429 (Too many requests) error is being thrown. This is from the browser:\nFailed to load resource: http://localhost:5601/api/saved_objects/index-pattern the server responded with a status of 429 (Too Many Requests)\n\nWhy is this happening? I switched off elasticsearch and kibana and back on but the error persists.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":17363,"accepted":true,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-29983192","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29983192/exclude-some-indexes-from-elasticsearch-query","posted_at":"2015-05-01T07:32:32.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Shubham Mishra","score":8,"kind":"question","title":"Exclude some indexes from elasticsearch query","body":"I am using _all as index pattern and this causes kibana-4 to search every possible index. As kibana-4 has its own .kibana index, it tries to search for the required data in .kibana index and since it doesn't parse the data there it throws some parsing exceptions. So Is there any way by which I can configure kibana-4 to exclude .kibana for searching..","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":6622,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-74514761","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/74514761/kibana-is-stuck-on-completing-setup-when-first-starting-up","posted_at":"2022-11-21T05:53:28.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"ebonybubbles","score":8,"kind":"question","title":"Kibana is stuck on &quot;completing setup&quot; when first starting up","body":"I am trying to build a local elasticsearch instance using Docker. I have started Elasticsearch container and then started Kibana container. I have gone through the process of connecting kibana container to elasticsearch container and verifying the kibana instance. It goes into the start up sequence in the kibana front end. Everything finishes except the last step which is \"Completing Setup\". I have waited for over an hour, if not multiple hours, and it is still loading.\nI have tried restarting / deleting and recreating the kibana container, and im just met with the same issue.\nAlso when I close the browser while it was loading and reconnect to the kibana front end, im just met with \"kibana server is not ready yet.\"\nIm not sure what the issue is. Any help will be greatly appreciated.\nTried deleting and rebuilding kibana container. Got same result.\nTried restarting and got same result.\nI tried looking at the kibana container logs and I wasn't able to find anything helpful, at least not that I personally could interpret.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2986,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-51105872","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51105872/kibana-container-to-elasticsearch-cloud-auth-err","posted_at":"2018-06-29T16:19:55.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Manuel Spigolon","score":8,"kind":"question","title":"Kibana container to elasticsearch cloud auth err","body":"I have a production instance of elasticsearch 5.6.9 deployed on elastic.cloud.\n\nWIth an http elastic all is OK but I would run a localhost kibana connected to that https instance!\n\nI have tried:\n\ndocker run --name kibana-prod-user \n     -e ELASTICSEARCH_URL=https://####.eu-west-1.aws.found.io:9243 \n     -e ELASTICSEARCH_PASSWORD=#### \n     -v /host/workspace/cert:/usr/share/elasticsearch/config/certificates \n     -p 3501:5601 --b kibana\n\n\nbut i get:\n\n\n\nIn my mount dir I have put the cert.cer of elastic cloud.\n\nAny ideas?\n\nThank you very much","product":["kibana"],"versions":["5.6.9"],"lang":"en","answer_count":1,"view_count":290,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-56189604","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56189604/run-kibana-without-bundling-the-js-files","posted_at":"2019-05-17T15:36:39.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Raghav","score":8,"kind":"question","title":"Run Kibana without bundling the JS files","body":"I need to add some custom code to one of the JS files present in the Kibana release zip: https://www.elastic.co/downloads/kibana\n\nRight now, when I run the Kibana I see the following JS files which are minified and bundled:\n\n\n\nand it comes from the Kibana's optimize folder:\n\n\n\nIs there any way to run the non modified version present at /src location:\n\n\n\nMy goal is to add a custom querystring param to each search request done via Kibana:\n\nhttp://localhost:5601/elasticsearch/_msearch\n\ntherefore, trying to figure out the exact file which make this request but right now with minified file it seems hard to find that location.\n\nIf we have to make some change in any of the existing JS file, the optimize folder has to be deleted so that on next restart of Kibana service the file bundling can take place to acomodate our custom change. This takes enough time which makes the debugging with JS files of Kibana very time consuming.\n\nHow to prevent this bundling step so that the JS debugging can become easy with Kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":438,"accepted":false,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-46928626","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46928626/angular-encodes-url-in-ng-src-and-replaces-with-2f-and-with-3f","posted_at":"2017-10-25T09:22:54.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Hasan Can Saral","score":8,"kind":"question","title":"Angular encodes url in ng-src and replaces &#39;/&#39; with %2F and &#39;?&#39; with %3F","body":"I have a Kibana dashboard with URL:\n\n/logquery/app/kibana#/dashboard/Some-Dashboard?someParameters\n\n\nand I have a web application in which I am trying to embed the dashboard above in an <iframe>. The url in the web application is as follows\n\n/dashboards/logquery/app/kibana#/dashboard/Some-Dashboard?someParameters\n\n\nand in AngularJs, I am doing:\n\nctrl.dashboardUrl = $location.url().replace('/dashboards', '');\n\n\nIn my view:\n\n<div ng-controller=\"DashboardCtrl as ctrl\">\n    <div class=\"iframe-container\">\n        <iframe ng-src=\"{{ctrl.dashboardUrl | trustAsUrl}}\"\n                height=\"100%\"\n                width=\"100%\"\n                ng-cloak\n                frameborder=\"0\"\n                marginheight=\"0\"\n                marginwidth=\"0\"></iframe>\n    </div>\n</div>\n\n\ntrustAsUrl filter is as follows:\n\nfiltersGroup.filter('trustAsUrl', [\n    '$sce',\n    function ($sce) {\n        return function (val) {\n            return $sce.trustAsResourceUrl(val);\n        };\n    }]);\n\n\nand I have:\n\n$locationProvider.html5Mode({\n                enabled: true,\n                requireBase: false,\n                rewriteLinks: false\n            });\n\n\nThis causes / characters after /kibana# to be replaced with %2F and ? with %3F which causes Kibana not to be able to find the requested dashboard.\n\nHow can I overcome this? Thanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":1756,"accepted":true,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring","10-docs-and-ux","02-discover-and-kql"],"sentiment":"positive","tags":[]}
{"id":"so-33222293","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33222293/how-can-i-make-kibana-graph-by-a-substring-or-regex-of-a-field","posted_at":"2015-10-19T19:25:23.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Cyberfox","score":8,"kind":"question","title":"How can I make Kibana graph by a substring or regex of a field?","body":"I have an ElasticSearch instance with Kibana, holding a lot of user-level app data that I've accumulated over a few years.  One of the fields is the Java version the user is running.\n\nI'd like to graph Java versions over time, so I can have an idea whether it's reasonable to transition to a newer version.  Unfortunately I can't find a way to aggregate 1.6.0_31, 1.6.0_32, 1.6.0_37, 1.6.0_51 as a single 1.6 entry, so the graph is nearly unreadable right now.\n\nIs there a way in Kibana to aggregate the data, like a 'scripted field' that I could write a regex for?  E.g. simplified_java: osjv % '\\d\\.\\d' which would defined simplified_java as the part of the osjv field that matches a digit followed by a dot followed by a digit.\n\nCurrently it looks like Kibana only supports numeric scripted fields, which makes this hard.  I'm not using LogStash, as I'm not really using 'logs', but rather a custom event reporting framework in my desktop application that (opt-in) reports usage statistics, so unfortunately I can't use any of its features.\n\nI can manually do it, but I've already imported 2G of event data, and I'd hate to have to do it again, adding a new field just for what should be computable... :(\n\nIs there a way to create a field based on a substring or regex in Kibana, or (failing that) a way to tell ElasticSearch to transparently do the same thing?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3295,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["06-sharing-and-export","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-50627095","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50627095/authenticating-embedded-kibana-iframe-with-aws-cognito","posted_at":"2018-05-31T14:49:15.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Somyo Banerjee","score":8,"kind":"question","title":"Authenticating embedded Kibana iframe with AWS Cognito","body":"I have a web app which already uses AWS Cognito to authenticate my users. These users have been granted role-based access to the Kibana URL of my AWS ElasticSearch cluster. But when I provided an embedded kibana dashboard iframe into my user's session, it doesn't work. I think I need to pass the Cognito session information along with the iframe. Is there a way to pass the Cognito session information along with the iframe? The embedded dashboard starts working when I login to Kibana in a separate browser tab, which leads me to believe this is an authentication issue. Any pointers will be of great help! Thanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1026,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring","08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-48521680","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48521680/is-there-a-way-to-search-curly-braces-in-kibana","posted_at":"2018-01-30T12:37:35.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Rafik Avtoyan","score":8,"kind":"question","title":"Is there a way to search curly braces in kibana?","body":"How can I search for empty curly braces in kibana ?\n\ne.g.\n\nI have some messages in elasticsearch:\n\ntest1 1235512 {\"command\":\"session\",\"params\":{}} test1\ntest2 1235512 {\"command\":\"session\",\"params\":{\"k1\": \"p1\"}} test2\ntest3 1235512 {\"command\":\"session\",\"params\":{\"k2\": \"p2\"}} test3 df\ntest4 1235512 {\"command\":\"session\",\"params\":{}} test4 some more text\n\n\nI need to find all documents where exists empty curly braces {}. For this case in response I want to get test1 and test4 documents. Or if someone can give the elasticsearch request it also can be very helpful )","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1025,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-29114254","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29114254/how-to-make-our-customised-dashboard-as-default-dashboard-on-kibana","posted_at":"2015-03-18T04:38:35.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Narendra522","score":7,"kind":"question","title":"How to make our customised dashboard as default dashboard on kibana","body":"I have modified my dashboard and tried saving it as home and I get the below message\n\nHome Set This page has been set as your default Kibana dashboard\n\nStill I am not able to load the modified dashboard as default dashboard, please suggest me on how to do it.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":17403,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38474978","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38474978/how-to-find-fields-with-mapping-conflicts","posted_at":"2016-07-20T07:30:26.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"markus","score":7,"kind":"question","title":"How to find fields with mapping conflicts","body":"My index settings in Kibana tell me that I have fields with mapping conflicts in my logstash-* index patterns. \n\nWhat is the easiest way to find out which fields have a conflicting mapping and/or in which indices the conflict occurs?","product":["kibana"],"versions":[],"lang":"en","answer_count":6,"view_count":12211,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-25685650","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25685650/why-do-people-ship-logs-to-logstash-with-nxlog-and-not-logstash-itself","posted_at":"2014-09-05T12:12:56.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Vagif Abilov","score":7,"kind":"question","title":"Why do people ship logs to Logstash with NXLog and not Logstash itself?","body":"I read a blog post about setting up Logstash, Elasticsearch and Kibana, and the author suggested to use NXLog to ship logs from different machines. A typical distributed scenario presented in \"The Logstash Book\" shows how Logstash can be used in both shipping and indexing role. We are currently experimenting with Logstash and setting up it to ship logs to Elasticsearch was straighforward. So I wonder why people choose NXLog as a log shipper to Logstash instead of using Logstash on both ends.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11095,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38869886","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38869886/sending-json-format-log-to-kibana-using-filebeat-logstash-and-elasticsearch","posted_at":"2016-08-10T09:50:14.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"learner","score":7,"kind":"question","title":"Sending json format log to kibana using filebeat, logstash and elasticsearch?","body":"I have logs like this:\n\n{\"logId\":\"57aaf6c8d32fb\",\"clientIp\":\"127.0.0.1\",\"time\":\"03:11:29 pm\",\"uniqueSubId\":\"57aaf6c98963b\",\"channelName\":\"JSPC\",\"apiVersion\":\"v1\",\"modulName\":null,\"actionName\":\"apiRequest\",\"typeOfError\":\"\",\"statusCode\":\"\",\"message\":\"In Auth\",\"exception\":\"In Auth\",\"logType\":\"Info\"}\n\n{\"logId\":\"57aaf6c8d32fb\",\"clientIp\":\"127.0.0.1\",\"time\":\"03:11:29 pm\",\"uniqueSubId\":\"57aaf6c987206\",\"channelName\":\"JSPC\",\"apiVersion\":\"v2\",\"modulName\":null,\"actionName\":\"performV2\",\"typeOfError\":\"\",\"statusCode\":\"\",\"message\":\"in inbox api v2 5\",\"exception\":\"in inbox api v2 5\",\"logType\":\"Info\"}\n\n\nI want to push them to kibana. I am using filebeat to send data to logstash, using following configuration:\n\nfilebeat.yml\n\n ### Logstash as output\nlogstash:\n# The Logstash hosts\nhosts: [\"localhost:5044\"]\n\n# Number of workers per Logstash host.\n#worker: 1\n\n\nNow using following configuration, I want to change codec type:\n\ninput {\n\n     beats {\n     port => 5000\n     tags => \"beats\"\n     codec => \"json_lines\"\n     #ssl  => true\n     #ssl_certificate => \"/opt/filebeats/logs.example.com.crt\"\n     #ssl_key => \"/opt/filebeats/logs.example.com.key\"\n     }\n\n\n     syslog {\n        type => \"syslog\"\n        port => \"5514\"\n\n    }\n\n}\n\n\nBut, still I get the logs in string format: \n\n\n  \"message\":\n  \"{\\\"logId\\\":\\\"57aaf6c96224b\\\",\\\"clientIp\\\":\\\"127.0.0.1\\\",\\\"time\\\":\\\"03:11:29\n  pm\\\",\\\"channelName\\\":\\\"JSPC\\\",\\\"apiVersion\\\":null,\\\"modulName\\\":null,\\\"actionName\\\":\\\"404\\\",\\\"typeOfError\\\":\\\"EXCEPTION\\\",\\\"statusCode\\\":0,\\\"message\\\":\\\"404\n  page encountered\n  http:\\/\\/localjs.com\\/uploads\\/NonScreenedImages\\/profilePic120\\/16\\/29\\/15997002iicee52ad041fed55e952d4e4e163d5972ii4c41f8845105429abbd11cc184d0e330.jpeg\\\",\\\"logType\\\":\\\"Error\\\"}\",\n\n\nPlease help me solve this.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":34303,"accepted":true,"category":"04-performance-and-load","secondary_categories":["11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-33820068","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33820068/why-is-that-after-deleting-an-index-in-logstash-kibana-still-displays-it","posted_at":"2015-11-20T06:09:01.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"kavya","score":7,"kind":"question","title":"Why is that after deleting an index in logstash, Kibana still displays it?","body":"I have 2 indexes movie_indexer and trial_indexer.\n\nI used the following command to delete movie_indexer:\n\ncurl -XDELETE \"http://localhost:9200/movie_indexer/\"\n\n\nThen i reran Kibana. It still showed the index and its values.\n\nWhen i used \n\ncurl -XDELETE \"http://localhost:9200/.kibana\" \n\n\nafter that trial_indexer was missing.\n\nNote: After using latter command, i could create the index pattern for trial_indexer but not for movie_indexer.\n\nI want to delete the specific index w/o the need to recreate an index pattern for undeleted indexes. How can i do that? (i'm using windows)","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9381,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-26752126","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26752126/displaying-calculated-fields-in-kibana-4","posted_at":"2014-11-05T07:54:57.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Patrick Wolf","score":7,"kind":"question","title":"Displaying calculated fields in Kibana 4","body":"We are using Kibana 4 to display usage statistics for our tools by tagging log entries with a \"stats\" flag. \n\nThis allows us to show ie tool A was executed 15 times in the last 60 minutes.\nNow using this tool saves time ie for tool A it saves users 3 minutes.\n\nSo I would like to show in another graph how many minutes were saved ie we saved 45 minutes in the last 60 minutes to show the return on investment in realtime for a particular tool.\n\nIs there anyway to do this in ElasticSearch or Kibana (ie have a calculated field which multiplies by a fixed value based on the specific tool)?\nIt would be great if the answer would provide a dynamic way of doing this ie a calculated field rather then adding redundant information to millions of past and future records. \n\nThanks,\nPatrick","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":16183,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-71120621","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71120621/efk-system-is-build-on-docker-but-fluentd-cant-start-up","posted_at":"2022-02-15T02:58:12.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Henry Kao","score":7,"kind":"question","title":"EFK system is build on docker but fluentd can&#39;t start up","body":"I want to build the efk logger system by docker compose.\nEverything is setup, only fluentd has problem.\nfluentd docker container logs\n\n2022-02-15 02:06:11 +0000 [info]: parsing config file is succeeded path=\"/fluentd/etc/fluent.conf\"\n\n\n2022-02-15 02:06:11 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '5.0.3'\n\n\n2022-02-15 02:06:11 +0000 [info]: gem 'fluentd' version '1.12.0'\n\n\n/usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- elasticsearch/transport/transport/connections/selector (LoadError)\n\nmy directory:\n\n\n my project/\n ├─ fluentd/\n │  ├─ conf/\n │  │  └── fluent.conf\n │  └── Dockerfile\n └── docker-compose.yml\n\ndocker-compose.yml:\nversion: \"3\"\nservices:\n  web:\n    image: httpd\n    ports:\n      - \"8010:80\"\n    depends_on:\n      - fluentd\n    logging:\n      driver: \"fluentd\"\n      options:\n        fluentd-address: 127.0.0.1:24224\n        fluentd-async: 'true'\n        tag: httpd.access\n\n  fluentd:\n    build: ./fluentd\n    volumes:\n      - ./fluentd/conf:/fluentd/etc\n    links:\n      - \"elasticsearch\"\n    ports:\n      - \"24224:24224\"\n      - \"24224:24224/udp\"\n\n  elasticsearch:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.13.1\n    environment:\n      - discovery.type=single-node\n    expose:\n      - 9200\n    ports:\n      - \"9200:9200\"\n\n  kibana:\n    image: docker.elastic.co/kibana/kibana:7.13.1\n    links:\n      - \"elasticsearch\"\n    ports:\n      - \"5601:5601\"\n\nDockerfile:\n# fluentd/Dockerfile\n\nFROM fluent/fluentd:v1.12.0-debian-1.0\nUSER root\nRUN [\"gem\", \"install\", \"fluent-plugin-elasticsearch\", \"--no-document\", \"--version\", \"5.0.3\"]\nUSER fluent\n\nfluent.conf:\n<source>\n  @type forward\n  port 24224\n  bind 0.0.0.0\n</source>\n\n<match *.**>\n  @type copy\n\n  <store>\n    @type elasticsearch\n    host elasticsearch\n    port 9200\n    logstash_format true\n    logstash_prefix fluentd\n    logstash_dateformat %Y%m%d\n    include_tag_key true\n    type_name access_log\n    tag_key @log_name\n    flush_interval 1s\n  </store>\n\n  <store>\n    @type stdout\n  </store>\n</match>","product":["kibana"],"versions":["5.0.3","12.0","6.0","7.13.1"],"lang":"en","answer_count":3,"view_count":6977,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-63657746","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63657746/query-kibana-logs-where-message-contains-a-substring","posted_at":"2020-08-30T13:07:56.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Shahaf Shavit","score":7,"kind":"question","title":"Query Kibana logs where message contains a substring","body":"I am trying to query kibana logs where the message contains the substring \"Bla\" with the search query - \"Bla\" and the search query \"@message: \"Bla\" \".\nThe search will find logs with messages that have the word \"Bla\" with spaces - like a message \"The operation failed for object Bla during insert.\".\nThe search will not find logs with a message containing the word \"Bla\" with no spaces - like a message \"Error:Bla,failed for insert.\".\nHow do I make a query the will find both types of messages?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":20379,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["08-spaces-and-rbac"],"sentiment":"negative","tags":[]}
{"id":"so-60461401","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60461401/in-keycloak-how-to-redirect-to-an-idp-with-kc-idp-hint","posted_at":"2020-02-29T02:14:12.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"flyingpot","score":7,"kind":"question","title":"In keycloak, how to redirect to an IDP with kc_idp_hint?","body":"Here is the scene. I'm using keycloak for kibana, and I want to add two keycloak IDPs in one keycloak. When I'm using different kibana, the kibana will redirect to appropriate keycloak IDP. But now I can only redirect to the master keycloak.\nI know Identity Provider Redirector, but it's realm-specific. I cannot add a new realm because I only have one.\nAnd the kc_idp_hint doesn't work for me. I tried using the url (http://localhost:5601?kc_idp_hint=idp1), the kc_idp_hint is lost when redirect to keycloak auth url (http://localhost:8080/auth/realms/master/protocol/openid-connect/auth?...)","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":21874,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38844192","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38844192/delete-a-document-with-kibana","posted_at":"2016-08-09T07:04:14.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"runemoennike","score":7,"kind":"question","title":"Delete a document with Kibana","body":"Is it possible to delete a document in Kibana, and if so, then how?\n\nMaybe I'm misunderstanding what Kibana is for, but it seems like such a useful feature :) Right now I have to search, copy the document id, go to Sense and make the query, and then repeat this for each document I want to remove.\n\nMaybe there's a plugin for Kibana that let's me do this sort of thing? I have tried Googling and searching here, but I must be using the wrong terms, or no one else is wondering the same thing.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":19329,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-30361568","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30361568/why-do-i-need-a-broker-for-my-production-elk-stack-machine-specs","posted_at":"2015-05-20T22:38:58.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"jeffrey","score":7,"kind":"question","title":"Why do I need a broker for my production ELK stack + machine specs?","body":"I've recently stood up a test ELK stack Ubuntu box to test the functionality and have been very happy with it. My use case for production would involve ingesting at least 100GB of logs per day. I want to be as scalable as possible, as this 100GB/day can quickly rise as we had more log sources.\n\nI read some articles on ELK production, including the fantasic Logz.io ELK Deployment. While I have a general idea of what I need to do, I am unsure on some core concepts, how many machines I need for such a large amount of data and whether I need a broker like Redis included in my architecture.\n\nWhat is the point of a broker like Redis? In my test instance, I have multiple log sources sending logs over TCP,syslog, and logstash forwarder to my Logstash directly on my ELK server (which also has Elasticsearch, Nginx, and Kibana installed configured with SSL). \n\nIn order to retain a high availability, state of the art production cluster, what machines+specs do I need for at least 100GB of data per day, likely scaling toward 150GB or more in the future? I am planning using my own servers. From what I've researched, the starting point should like something like (assuming I include Redis):\n\n\n2/3 servers with a Redis+Logstash(indexer) instance for each server. For specs, I am thinking 32GB RAM, fast I/O disk 500GB maybe SSD, 8 cores (i7)\n3 servers for Elasticsearch (this is the one I am most unsure about) -- I know I need at least 3 master nodes and 2 data nodes, so 2 servers will have 1 master/1 data each -- these will be beefy 64GB RAM, 20TB, 8 cores. The other remaining master node can be on a low spec machine, as it is not handling data.\n2 servers for Nginx/Kibana -- these should be low spec machines, as they are just the web server and UI. Is a load balancer necessary here?\n\n\nEDIT: Planning on keeping the logs for 60 days.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3755,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-47345816","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47345816/kibana-reports-a-field-is-conflicting-how-can-i-resolve-it","posted_at":"2017-11-17T07:57:23.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Dandr&#233;","score":7,"kind":"question","title":"Kibana reports a field is conflicting, how can I resolve it?","body":"In Kibana I've noticed after I did an Index Pattern refresh that my one field shows up as conflicted.\n\nExample:\n\n\n\nSo I understand that this is because Elastic Search found values in that field that are of different types, how can I determine that? It is causing my Visuals to break as they can't work with conflicting fields.\nHow can I get around this problem for the existing data?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":17986,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-29604851","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29604851/how-to-setup-kibana-sso-through-oauth","posted_at":"2015-04-13T12:02:53.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Igor Gatis","score":7,"kind":"question","title":"How to setup Kibana SSO (through OAuth)?","body":"My company tries very hard to keep a SSO for all third party services. I'd like to make Kibana work with our Google Apps accounts. Is that possible? How?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":17139,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-28691889","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28691889/kibana-4-making-pie-chart-error-message","posted_at":"2015-02-24T09:15:43.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Arun Mohan","score":7,"kind":"question","title":"Kibana 4 , making pie chart , error message","body":"I was trying to create a pie chart in Kibana 4 dashboard. And I was trying for a split slice one. But when I select the field type,I get the following error: \"Pie chart response converter:Splitting charts without splitting sliced is not supported.Pretend that we are just splitting slices\".\nWhy is this error?.\n\nThis is the screenshot of the above error. I have marked it with a yellow rectangle and numbered it as 1. !https://i.sstatic.net/ZDSfg.png","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":6640,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality","05-index-patterns-data-views"],"sentiment":"neutral","tags":[]}
{"id":"so-25404022","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25404022/how-to-plot-a-non-time-based-histogram-in-kibana","posted_at":"2014-08-20T11:53:17.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"pjcard","score":7,"kind":"question","title":"How to plot a non-time based histogram in Kibana?","body":"For instance, I record the duration for an event and would like to view a graph with the Y axis as count and the X axis as duration (which is recorded as an integer) so I can see the distribution of how long it takes the event to occur. How can I do this? Kibana seems to expect the X axis to be a time-based value, and won't except plain numbers. Is there a way to get around this I'm missing? Is there some logic behind this limitation that I'm missing?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":3965,"accepted":true,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-73683682","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73683682/kibana-and-large-results","posted_at":"2022-09-12T01:18:59.000Z","captured_at":"2026-04-14T13:23:54.167Z","author":"Michael Wade","score":7,"kind":"question","title":"Kibana and large results","body":"When I run a search in Kibana that returns several hundred documents I am getting an error that the results are too large.  The actual error message is below:\n\nCan't store an async search response larger than [10485760] bytes. This limit can be set by changing the [search.max_async_search_response_size] setting.\n\nThis does NOT seem to be something I can change in the UI  In fact, just clicking on this index in Kibana Discover and no search, I get this error.  If run a search that just brings back a few (ten's of doc's) I will get results as expected, but otherwise I am getting these kinds of results.\nMy index has about 300K documents and most a relatively small, but around 40 to 50 fields (mostly file metadata and some other metadata type fields).\nDoes any one have any advice on this?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":11520,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux"],"sentiment":"negative","tags":["discover"]}
{"id":"so-71552021","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71552021/access-denied-you-are-not-authorized-to-access-monitoring","posted_at":"2022-03-21T01:46:22.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"user2570135","score":7,"kind":"question","title":"Access Denied You are not authorized to access Monitoring","body":"I have an elasticSearch cluster with 3 master and 2 data nodes. In addition, I have another node with KIbana and ElasticSearch (role=[] --coordinating-node)\nThe cluster is working, and I can launch the KIbana UI. However, I  see the following error when I access stack monitoring\n\nAccess Denied\nYou are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the kibana_admin and monitoring_user  roles.\nIf you are attempting to access a dedicated monitoring cluster, this might be because you are logged in as a user that is not configured on the monitoring cluster.\n\nElasticSearch 8.1\nKIbana 8.1\nI am logged in as the elastic superuser","product":["kibana"],"versions":["8.1"],"lang":"en","answer_count":3,"view_count":8473,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38830663","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38830663/how-to-define-seperated-indexes-for-different-logs-in-filebeat-elk","posted_at":"2016-08-08T13:35:25.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"daiyue","score":7,"kind":"question","title":"How to define seperated indexes for different logs in Filebeat/ELK?","body":"I am wondering how to create separated indexes for different logs fetched into logstash (which were later passed onto elasticsearch), so that in kibana, I can define two indexes for them and discover them.\n\nIn my case, I have a few client servers (each of which is installed with filebeat) and a centralized log server (ELK). Each client server has different kinds of logs, e.g. redis.log, python logs, mongodb logs, that I like to sort them into different indexes and stored in elasticsearch.\n\nEach client server also serves different purposes, e.g. databases, UIs, applications. Hence I also like to give them different index names (by changing output index in filebeat.yml?).","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":13598,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":["discover"]}
{"id":"so-28334037","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28334037/kibana-search-with-not","posted_at":"2015-02-05T00:16:59.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Guy","score":7,"kind":"question","title":"Kibana Search with NOT","body":"Trying to do a Kibana search that includes some NOTs but getting results that include the NOTs so guessing my syntax is incorrect:\n\n\"chocolate\" AND \"milk\" AND NOT \"cow\" AND NOT \"tree\"","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4639,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-31357669","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31357669/kibana-unwanted-thousand-seperator","posted_at":"2015-07-11T13:30:13.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"MoorzTech","score":7,"kind":"question","title":"Kibana unwanted thousand-seperator","body":"I'm just messing around with Kibana (4.1.1) and for some reason Kibana separates all my integer fields (>999) with a \",\".\nI specified a mapping in Elasticsearch and the fields in question are definitely integers. They are shown in Kibana as numbers and behave exactly like numbers (I can, for instance, set a range in a visualization).\nThanks a bunch.\n\nEdit:\nJust to clarify, this is merely a cosmetic issue.\n\nEdit2:\nIdeally I would like to be able to specify integer-representations on a field-by-field basis.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5774,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-26573787","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26573787/write-serilog-logs-directly-to-elasticsearch","posted_at":"2014-10-26T14:02:58.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"john_mm","score":7,"kind":"question","title":"Write Serilog logs directly to ElasticSearch","body":"I want to setup a log aggregator. So far I'm leaning towards ElasticSearch/Kibana. In my apps I'm using Serilog, that currently writes to the Windows Event Log. How do I configure Serilog to send the logs to ElasticSearch instead?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6144,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26167872","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26167872/lucene-query-syntax-how-to-add-time","posted_at":"2014-10-02T19:11:41.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"nondescript","score":7,"kind":"question","title":"Lucene query syntax - how to add time?","body":"I am new to Luncene query syntax. I am using elasticsearch/logstash and kibana for storing logfiles. But I want to filter by date and time\nThis works:\n@timestamp:[2014-10-01  TO 2014-10-01 ]\n\nBut format like this doesn't work:\n@timestamp:[2014-10-01 16:34:09 TO 2014-10-01 16:34:10]\n\nHow to do something like this ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8342,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-58985935","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58985935/using-time-filter-in-dashboard-to-change-range-of-vega-in-kibana","posted_at":"2019-11-22T00:54:02.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"haneulkim","score":7,"kind":"question","title":"Using time filter in dashboard to change range of Vega in Kibana","body":"I am using Kibana 7.1.\n\nI have successfully created Vega line plot. I can allow it to show month of data however I want user to play around with time filter in dashboard and allow vega visualization to change with it.\n\nFrom https://www.elastic.co/blog/getting-started-with-vega-visualizations-in-kibana and in Vega documentation I've read that inserting \n\n  \"%context%\": true,\n  \"%timefield%\": \"@timestamp\"\n\n\ninside url will resolve this issue however when I do this it gives me \nurl.%context% and url.%timefield% must not be used when url.body.query is set\n\nmy full elasticsearch code look like this:\n\n  \"data\": {\n    \"url\": {\n      \"%context%\":\"true\",\n      \"index\": \"access_log\",\n      \"body\": {\n        \"query\": {\n          \"bool\": {\n            \"must\": [\n              {\"term\": {\"request_1\": \"rent\"}},\n              {\"term\": {\"status\": 200}}\n            ]\n          }\n        },\n        \"aggs\": {\n          \"histo\": {\n            \"date_histogram\": {\n              \"field\": \"date\",\n              \"interval\": \"day\"\n            },\n            \"aggs\": {\n              \"start_agg\": {\n                \"filter\": {\n                  \"term\": {\"request_2\": \"start\"}\n                }\n              },\n              \"check_agg\": {\n                \"filter\": {\n                  \"term\": {\"request_2\": \"check\"}\n                }\n              },\n              \"start_check\": {\n                \"bucket_script\": {\n                  \"buckets_path\": {\n                    \"start_count\": \"start_agg._count\",\n                    \"check_count\": \"check_agg._count\"\n                  },\n                  \"script\": \"params.start_count / params.check_count\"\n                }\n              }\n            }\n          }\n        }\n      }\n    },\n    \"format\": {\n      \"property\": \"aggregations.histo.buckets\"\n    }\n  },\n  \"mark\": {\n    \"type\":\"line\"\n  },\n  \"encoding\": {\n    \"x\": {\n      \"field\": \"key\",\n      \"type\": \"temporal\",\n      \"axis\": {\"title\": false}\n    },\n    \"y\": {\n      \"field\": \"start_check.value\",\n      \"type\": \"quantitative\",\n      \"axis\": {\"title\": \"Document count\"}\n    },\n    \"tooltip\":[\n      {\"field\":\"start_check.value\", \n       \"type\" : \"quantitative\"},\n      {\"field\":\"key\",\n       \"type\" :\"temporal\"}\n    ]\n  }\n}","product":["kibana"],"versions":["7.1"],"lang":"en","answer_count":2,"view_count":4992,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality","04-performance-and-load","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-50524131","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50524131/how-to-search-json-message-in-kibana-elasticsearch","posted_at":"2018-05-25T07:51:04.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Achaius","score":7,"kind":"question","title":"How to search Json message in Kibana elasticSearch","body":"I am using ElasticSearch Kibana dashboard with the following fields\n\nhost\n_id\n_score\nindex\nmessage\n\n\nof which message is a json string having values like\n\n{\"version\": \"3.4.2\", \"model\": \"EX2308\", \"orders\": \"50\"}\n\n\nI am searching for lucene query to search this JSON message having \n\norders > 30 and version > 3.4\n\n\nAny help is appreciated\n\n[Updated]\n\nI am using logback-elasticsearch-appender to push messages into ElasticSearch using SLF4j\n\nlog.info(new org.json.JSONOject(arg).toString());","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":21424,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-18866137","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/18866137/running-kibana3-logstash-and-elasticsearch-all-in-one-machine","posted_at":"2013-09-18T07:22:52.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Mawia","score":7,"kind":"question","title":"Running Kibana3, LogStash and ElasticSearch, all in one machine","body":"Kibana3 works successfully when ElasticSearch is in a different machine, by setting elasticsearch: \"http://different_machine_ip:9200\" in config.js of Kibana3. \n\nNow , I want to run all three of them in my local machine for testing. I'm using Windows7 and using Chrome browser. I installed Kibana 3 on Tomcat7. I started the embedded ElasticSearch from LogStash jar file. \nI set the ElasticSearch location to \"localhost:9200\" or \"127.0.0.1:9200\" or \"computer_name:9200\". When I check Kibana3 on the browser, the ElasticSearch query revealed via spying has no logstash index. \n\ncurl -XGET 'http://localhost:9200//_search?pretty' -d ''\n\n\nAs you can see, the index part is empty, showing // only.  The expected query should look like this.\n\ncurl -XGET 'http://localhost:9200/logstash-2013.08.13/_search?pretty' -d 'Some JSON Data'\n\n\nThe browser is able to call ElasticSearch API successfully. Example, typing http://localhost:9200/logstash-2013.08.13/_mapping?pretty=true on the address bar returns the mapping of logstash index. This proves that there is no probelm in connecting to ElasticSearch.\n\nThe problem here is that the index is empty from Kibana query. Why is the index empty?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6683,"accepted":true,"category":"06-sharing-and-export","secondary_categories":["02-discover-and-kql","05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-23778336","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23778336/how-to-fix-this-code-exception-error-elasticsearch","posted_at":"2014-05-21T08:50:17.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"bottus","score":7,"kind":"question","title":"how to fix this code exception error elasticsearch","body":"I'm currently working with elasticsearch, logstash and kibana.\n\ni'm getting an exception that i can't get through.\n\nfirst here is what i get when i put ip:9200/_cluster/health in my browser ..\n\n{\n \"cluster_name\":\"mr-cluster\",\n \"status\":\"yellow\",\n \"timed_out\":false,\n \"number_of_nodes\":1,\n \"number_of_data_nodes\":1,\n \"active_primary_shards\":5,\n \"active_shards\":5,\n \"relocating_shards\":0,\n \"initializing_shards\":0,\n \"unassigned_shards\":5\n}\n\n\nHere is what kibana get when trying to request elastic search\n\nRemote Address:ip:9200\nRequest ip:9200/_all/_search\nRequest Method:POST\nStatus Code:200 OK\n\n\nIt seems okay until now ..\n\nHere is my logstash config file:\n\ninput {\ngelf {\n    port => \"5000\"\n}\nudp {\n    port => \"5001\"\n}\n}\n\noutput {\nfile {\n    path => \"/home/g/stdout.log\"\n}\nelasticsearch {\n    cluster => \"mr-cluster\"\n    codec => \"json\"\n}\n}\n\n\nSomething pretty simple when i only use a file as output it works perfectly, logstash works.\nThe problem is when i wanna use elasticsearch as output, nothing works anymore (event file output) and i get this exception from elasticsearch. I've been searching on google for hours now and didn't find the solution.\n\nHere is the exception :\n\n[2014-05-21 09:18:35,060][WARN ][http.netty               ] [mr-node-elasticsearch] Caught     exception while handling client http traffic, closing connection [id: 0x27d0ccce, /0:0:0:0:0:0:0:1:44164 => /0:0:0:0:0:0:0:1:9200]\njava.lang.IllegalArgumentException: empty text\nat org.elasticsearch.common.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:97)\nat org.elasticsearch.common.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:62)\nat org.elasticsearch.common.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:75)\nat org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:189)\nat org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:101)\nat org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:500)\nat org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)\nat org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)\nat org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\nat org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)\nat org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74)\nat org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\nat org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)\nat org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268)\nat org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255)\nat org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)\nat org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)\nat org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)\nat org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)\nat org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)\nat org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)\nat org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\nat java.lang.Thread.run(Thread.java:744) \n\n\nThank you for helping guys !","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":11981,"accepted":false,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-16500599","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/16500599/multitenant-setup-with-kibana-and-elasticsearch","posted_at":"2013-05-11T18:52:11.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"nebi","score":7,"kind":"question","title":"Multitenant setup with Kibana and Elasticsearch","body":"I am going to use logstash+ES+kibana for my project. I want to know how to use this framework for multi tenants. Can any one explain me how after the authentication Kibana query the elastic search index and load in Kibana's dashboard? Can I restrict kibana to look for a specifix index of Elastic search for a particular user or some-id? Anybody has tried this?\n\nThnx","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":5276,"accepted":false,"category":"08-spaces-and-rbac","secondary_categories":["01-dashboard-authoring","02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-38002897","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38002897/creating-a-geopoint-object-from-csv-latitude-and-longitude-columns-in-logstash","posted_at":"2016-06-23T22:26:40.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"naranjja","score":7,"kind":"question","title":"Creating a geopoint object from CSV (latitude and longitude columns) in Logstash","body":"I have a CSV with the columns latitude and longitude and I'm trying to create a geopoint object in Logstash 2.3.3 so that I can visualize these values in Kibana 4.5.1. \n\nHowever when visualizing the data in Kibana, I see location.lat and location.lon, both of type float and not a location of type geopoint.\n\nI'm new to ELK in general and this is driving me crazy. Especially because most of the information that I'm finding is outdated.\n\nThe .conf file that I'm using looks like this:\n\ninput {  \n    file {\n        path => \"C:/file.csv\"\n        start_position => \"beginning\"    \n    }\n}\n\nfilter {  \n    csv {\n        separator => \",\"\n        columns => [\"longitude\",\"latitude\"]\n    }\n\n    mutate { convert => {\"latitude\" => \"float\"} }\n    mutate { convert => {\"longitude\" => \"float\"} }\n    mutate { rename => {\"latitude\" => \"[location][lat]\"} }\n    mutate { rename => {\"longitude\" => \"[location][lon]\"} }\n    mutate { convert => { \"[location]\" => \"float\" } }\n}\n\noutput {  \n    elasticsearch {\n        template => \"...\\elasticsearch-template.json\"\n        template_overwrite => true\n        action => \"index\"\n        hosts => \"localhost\"\n        index => \"testindex1\"\n        workers => 1\n    }\n    stdout {}\n}\n\n\nThe template file I'm specifying (elasticsearch-template.json) is the following:\n\n{\n  \"template\" : \"logstash-*\",\n  \"settings\" : {\n    \"index.refresh_interval\" : \"5s\"\n  },\n  \"mappings\" : {\n    \"_default_\" : {\n      \"_all\" : {\"enabled\" : true, \"omit_norms\" : true},\n      \"dynamic_templates\" : [ {\n        \"message_field\" : {\n          \"match\" : \"message\",\n          \"match_mapping_type\" : \"string\",\n          \"mapping\" : {\n            \"type\" : \"string\", \"index\" : \"analyzed\", \"omit_norms\" : true,\n            \"fielddata\" : { \"format\" : \"disabled\" }\n          }\n        }\n      }, {\n        \"string_fields\" : {\n          \"match\" : \"*\",\n          \"match_mapping_type\" : \"string\",\n          \"mapping\" : {\n            \"type\" : \"string\", \"index\" : \"analyzed\", \"omit_norms\" : true,\n            \"fielddata\" : { \"format\" : \"disabled\" },\n            \"fields\" : {\n              \"raw\" : {\"type\": \"string\", \"index\" : \"not_analyzed\", \"ignore_above\" : 256}\n            }\n          }\n        }\n      } ],\n      \"properties\" : {\n        \"@timestamp\": { \"type\": \"date\" },\n        \"@version\": { \"type\": \"string\", \"index\": \"not_analyzed\" },\n        \"geoip\"  : {\n          \"dynamic\": true,\n          \"properties\" : {\n            \"ip\": { \"type\": \"ip\" },\n            \"location\" : { \"type\" : \"geo_point\" },\n            \"latitude\" : { \"type\" : \"float\" },\n            \"longitude\" : { \"type\" : \"float\" }\n          }\n        },\n  \"location\" : { \"type\": \"geo_point\" }\n      }\n    }\n  }\n}\n\n\nIf anyone could help me or give me some insight as to what I'm doing wrong, I would be very grateful. Also I'm sure this will help everyone who is on the same boat as me.\n\nI solved it and it is now working perfectly. The template was looking for an index of the type logstash-* and I was using testindex1. Changing my index to logstash-%{+dd.MM.YYYY} fixed it.","product":["kibana"],"versions":["5.1"],"lang":"en","answer_count":1,"view_count":4561,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["04-performance-and-load","01-dashboard-authoring","05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-21030276","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21030276/how-to-create-value-over-time-chart-with-kibana-3","posted_at":"2014-01-09T20:18:19.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Daniel","score":7,"kind":"question","title":"How to create value over time chart with Kibana 3?","body":"I use logstash to store log files containing the speed of vehicles over time. \n\nIn Kibana 3, how can I generate a panel which displays a value over time, i.e. the x axis displays the time and the y axis the related value, e.g. vehicle speed.\n\nMost panels I found count the occurrence of events in a given time span and display it on the y axis. My goal however is to directly print a value from the json log entry (wheelSpeed_m_s), which looks as follows:\n\n{\n  \"_index\": \"logstash-2013.05.07\",\n  \"_type\": \"vehicle_odometry\",\n  \"_id\": \"Q3b58Pi7RUKuPon0s_ihlA\",\n  \"_score\": null,\n  \"_source\": {\n    \"message\": \" \",\n    \"wheelSpeed_m_s\": 0.91,\n    \"@timestamp\": \"2013-05-07T17:50:04.099+02:00\",\n    \"angularVelocity_rad_s\": 0,\n    \"type\": \"vehicle_odometry\",\n    \"@version\": \"1\",\n    \"ts_ms\": 1367934604099\n  },\n}\n\n\nAny help is highly appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12790,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["13-observability-apm"],"sentiment":"neutral","tags":[]}
{"id":"so-40951966","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40951966/how-to-draw-multi-lines-from-multiple-queries-in-kibana","posted_at":"2016-12-03T20:05:20.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"kee","score":7,"kind":"question","title":"How to draw multi-lines from multiple queries in Kibana","body":"I am new to Kibana and need some help. \n\nI can draw this line chart for a single query (java):\n\n\n\nNow I would like to another line for another query (for example python) in the same chart. I am not so sure how to do that. Also \"Markdown widget\" is the way to add a legend?\n\nAny help would be appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7117,"accepted":true,"category":"03-visualization-quality","secondary_categories":["01-dashboard-authoring","02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-56723867","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56723867/kubernetes-nginx-ingress-rabbitmq-management-and-kibana","posted_at":"2019-06-23T12:26:51.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Softey","score":7,"kind":"question","title":"Kubernetes nginx ingress rabbitmq management and kibana","body":"On my AKS cluster I have a Nginx ingress controller that I used to reverse proxy my kibana service running on the AKS. I want to however add another http services through the ingress, rabbitmq management console.\n\nI'm unable to get both to work with the following configuration:\n\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n  name: ingress-aegis\n  namespace: dev\n  annotations:\n    kubernetes.io/ingress.class: nginx\n    certmanager.k8s.io/cluster-issuer: letsencrypt-prod\n    nginx.ingress.kubernetes.io/rewrite-target: /    \nspec:\n  tls:\n  - hosts:\n    - dev.endpoint.net\n    secretName: dev-secret   \n  rules:\n  - host: dev.endpoint.net\n    http:\n      paths:\n      - path: /\n        backend:\n          serviceName: kibana-kibana\n          servicePort: 5601\n      - path: /rabbit\n        backend:\n          serviceName: rabbitmq\n          servicePort: 15672\n\n\nThe Kibana works fine at root however RabbitMQ fails to load with a 503 with any path except /. If RabbitMQ's path is / then it works fine but then Kibana won't run.\n\nI assume this is because internally they are sitting on the root aka localhost:15672 so it redirects to / on dev.endpoint.net. \n\nHow do I have multiple services like Kibana and RabbitmQ running from one endpoint?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":4587,"accepted":true,"category":"14-siem-and-security","secondary_categories":["15-plugin-and-ecosystem"],"sentiment":"negative","tags":[]}
{"id":"so-56467728","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56467728/kibana-fails-to-pick-up-date-from-elasticsearch-when-i-include-the-hour-and-minu","posted_at":"2019-06-05T20:42:21.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Jimmy","score":7,"kind":"question","title":"Kibana fails to pick up date from elasticsearch when I include the hour and minute","body":"I'm really stuggling to get this specific time format into elasticsearch so I can graph it in Kibana. I cannot change this format. My elasticsearch data and mapping is in this format: \n\nSTEP 1: Setup Mapping\n\nPUT http://<>.com:5101/myindex6/_doc/1\n\n{\n  \"mappings\": {\n    \"properties\": {\n      \"date\": {\n        \"type\":   \"date\",\n        \"format\": \"HH:mm yyyy-MM-dd\"\n      },\n        \"data\": {\n        \"type\":   \"integer\"\n      }\n    }\n  }\n}\n\n\nStep 2: Add Data\n\nPUT http://<>.com:5101/myindex6\n\n{\n  \"test\" : [ {\n    \"data\" : \"119050300\",\n    \"date\" : \"10:00 2019-06-03\"\n  } ]\n}\n\n\nIn Kibana it wont find this as a date and wont allow me to map it as one.  However, if I remove the time aspect and use the date, and do this instead, it works fine:\n\nData\n\n{\n  \"test\" : [ {\n    \"data\" : \"119050300\",\n    \"date\" : \"2019-06-03\"\n  } ]\n}\n\n\nMap\n\n{\n  \"mappings\": {\n    \"properties\": {\n      \"date\": {\n        \"type\":   \"date\",\n        \"format\": \"yyyy-MM-dd\"\n      },\n        \"data\": {\n        \"type\":   \"integer\"\n      }\n    }\n  }\n}\n\n\nCan someone please tell me how to include the time and not have it break, so I can filter on time in kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":288,"accepted":true,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-28706544","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28706544/can-kibana-connect-with-data-sources-other-than-elastic-search","posted_at":"2015-02-24T21:21:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Geekg","score":7,"kind":"question","title":"Can kibana connect with data sources other than elastic search?","body":"Can Kibana connect with data sources other than elastic search and build visualizations on the data in other data sources ?\nMore specifically I am looking to connect Kibana with Hive.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6155,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-39539496","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39539496/delete-add-nested-objects-in-elastic-search","posted_at":"2016-09-16T20:17:26.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"tkja","score":7,"kind":"question","title":"Delete / add nested objects in Elastic search","body":"I cannot find examples in the Elastic manual on nested objects on how to modify fields and nested objects of documents using RESTful commands in Kibana Sense. I am looking for something similar to Solrs atomic updates here, which allow to update specific fields of documents. \n\nHow do RESTful commands in Kibana Sense look like that accomplish this? The only related info in the manual I can find is on Partial Updates to Documents, but I do not know how this can be applied for this use case.\n\nFor example, straight from the Elastic docs:\n\nPUT my_index\n{\n\"mappings\": {\n    \"my_type\": {\n    \"properties\": {\n        \"user\": {\n        \"type\": \"nested\" \n        }\n    }\n    }\n}\n}\n\nPUT my_index/my_type/1\n{\n\"group\" : \"fans\",\n\"user\" : [\n    {\n    \"first\" : \"John\",\n    \"last\" :  \"Smith\"\n    },\n    {\n    \"first\" : \"Alice\",\n    \"last\" :  \"White\"\n    }\n]\n} \n\n\nHow can I delete an entry in the nested object, so that the document \"1\" looks like: \n\n{\n\"group\" : \"fans\",\n\"user\" : [\n    {\n    \"first\" : \"John\",\n    \"last\" :  \"Smith\"\n    }\n]\n}\n\n\nHow can I add an entry in the nested object, so that the document \"1\" looks like: \n\n{\n\"group\" : \"fans\",\n\"user\" : [\n    {\n    \"first\" : \"John\",\n    \"last\" :  \"Smith\"\n    },\n    {\n    \"first\" : \"Alice\",\n    \"last\" :  \"White\"\n    },\n    {\n    \"first\" : \"Peter\",\n    \"last\" :  \"Parker\"\n    }\n]\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":7376,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-35859130","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35859130/how-to-configure-jira-dashboard-in-kibana","posted_at":"2016-03-08T04:43:13.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Deepak Prasad","score":7,"kind":"question","title":"how to configure Jira Dashboard in Kibana","body":"I want to create a simple dashboard in kibana to show how many jira issues(priority wise) are opened and closed. \n\nI have elasticsearch 2.2, logstsash and kibana (ELK) already integrated and running but, since i am very new to ELK i am not sure how i can have my jira instance to connect to logstash.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9383,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26971079","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26971079/getting-ip-address-of-logstash-forwarder-machine","posted_at":"2014-11-17T10:55:47.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"chinmay","score":7,"kind":"question","title":"Getting IP address of Logstash-forwarder machine","body":"I've setup the Elasticsearch, Logstash, Kibana log viewing tools on my systems. There are 2 machines in my configuration now (Amazon EC2 instances): \n\n\n54.251.120.171 - Logstash-server where ELK is installed\n54.249.59.224 - Logstash-forwarder - sends \"/var/logs/messages\" log to Logstash-server\n\n\nOn logstash-server, this what my configs (in different files) look like :-\n\ninput {\n  lumberjack {\n    port => 5000\n    type => \"logs\"\n    ssl_certificate => \"/etc/pki/tls/certs/logstash-forwarder.crt\"\n    ssl_key => \"/etc/pki/tls/private/logstash-forwarder.key\"\n  }\n}\n\n\n\n\nfilter {\n if [type] == \"syslog\" {\n\n    grok {\n      match => { \"message\" => \"%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\\[%{POSINT:syslog_pid}\\])?: %{GREEDYDATA:syslog_message}\" }\n      add_field => [ \"received_at\", \"%{@timestamp}\" ]\n      add_field => [ \"received_from\", \"%{host}\" ]\n    }\n    syslog_pri { }\n    date {\n      match => [ \"syslog_timestamp\", \"MMM  d HH:mm:ss\", \"MMM dd HH:mm:ss\" ]\n    }\n  }\n}\n\n\noutput {\n  elasticsearch { host => localhost }\n  stdout { codec => rubydebug }\n}\n\n\nOn logstash-forwarder, this what my config file looks like, it forwards the /var/log/messages, /var/log/secure logs to logstash-server\n\n{\n    \"network\": {\n        \"servers\": [ \"54.251.120.171:5000\" ],\n        \"timeout\": 15,\n        \"ssl ca\": \"/etc/pki/tls/certs/logstash-forwarder.crt\"\n    },\n\n    \"files\": [\n        {\n        \"paths\": [\n                \"/var/log/messages\",\n                \"/var/log/secure\"\n        ],\n        \"fields\": { \"type\": \"syslog\" }\n        }\n    ]\n}\n\n\nThis is what my Kibana interface looks like after it has fetched the indexed logs from Elasticsearch.\n\n\nSo my question is, I need a way to retrieve IP address of the logstash-forwarder i.e. 54.249.59.224 in case there's a log event. \n\nThe reason why I'm asking this is in a real scenario, we might have many logstash-forwarders (say 10), with all 10 of them sending logs to our logstash-server. So I need someway to tag all the log events, so that I can identify which logstash-server has sent which log event. \n\nI'll need to use the IP address (maybe some other information as well) to search for log events in the Kibana interface.\n\nCan someone please help me to do this? :)\n\nOr incase someone has a better idea how to do this effectively in a different way, you're most welcome!","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7567,"accepted":true,"category":"04-performance-and-load","secondary_categories":["12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-22544330","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22544330/kibana-histogram-drawing-multiple-series-on-a-single-chart","posted_at":"2014-03-20T20:27:29.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Yasir","score":7,"kind":"question","title":"Kibana histogram - drawing multiple series on a single chart","body":"I have an index in Elasticsearch which contains an array of simple objects (key-value  please see example below).\n\nThe documents have a timestamp.\n\nI can create separate histograms in Kibana for each key-value (i.e one chart for bytes_sent and another for bytes_received).\n\nI am wondering if there is a way to show both series on one histogram chart. \n\nthanks\n\nYasir\n\n\"_index\": \"myindex\",\n    \"_type\": \"showstatus\",\n    \"_id\": \"JhyLAGbcRDyXmrIMmP5lLg\",\n    \"_score\": 1,\n    \"_source\": {\n       \"_datetime\" : \"2014-03-21 10:10:10\",\n       \"showstatus\": [\n          {\n             \"value\": 96451,\n             \"variable_name\": \"bytes_sent\"\n          },\n          {\n             \"value\": 435322,\n             \"variable_name\": \"bytes_received\"\n          }\n       ]\n    }","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":11668,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-35300591","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35300591/how-can-i-create-a-histogram-of-time-stamp-deltas","posted_at":"2016-02-09T19:28:21.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"John Yost","score":7,"kind":"question","title":"How can I create a histogram of time stamp deltas?","body":"We are storing small documents in ES that represent a sequence of events for an object. Each event has a date/time stamp.  We need to analyze the time between events for all objects over a period of time.\n\nFor example, imagine these event json documents:\n\n{ \"object\":\"one\", \"event\":\"start\", \"datetime\":\"2016-02-09 11:23:01\" }\n\n{ \"object\":\"one\", \"event\":\"stop\", \"datetime\":\"2016-02-09 11:25:01\" }\n\n{ \"object\":\"two\", \"event\":\"start\", \"datetime\":\"2016-01-02 11:23:01\" }\n\n{ \"object\":\"two\", \"event\":\"stop\", \"datetime\":\"2016-01-02 11:24:01\" }\n\nWhat we would want to get out of this is a histogram plotting the two resulting time stamp deltas (from start to stop): 2 minutes / 120 seconds for object one and 1 minute / 60 seconds for object two.\n\nUltimately we want to monitor the time between start and stop events but it requires that we calculate the time between those events then aggregate them or provide them to the Kibana UI to be aggregated / plotted.  Ideally we would like to feed the results directly to Kibana so we can avoid creating any custom UI.\n\nThanks in advance for any ideas or suggestions.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":351,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-33265399","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33265399/kibana-logstash-elastic-group-exceptions-by-stacktrace","posted_at":"2015-10-21T17:14:50.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Anton","score":7,"kind":"question","title":"Kibana + Logstash + Elastic group exceptions by stacktrace","body":"For now I have logstashed installed and I can see all [ERROR] messages and stacktraces in Kibana.\n\nHowever I would like to group my exceptions by its stacktraces to see only unique exceptions. For example, I have 2 different NullPointerException throwned from different classes/lines of codes and 1 IllegalArgumentException. This exceptions repeats in logs multiple times, and I can see all occurrence in Kibana. \n\nWhat I would like to see, something similar to this\n\n\nNullPointerException + trace - thwwn 78 times.\nAnother NullPointerException + trace - thrown 112 times.\nIllegalArgumentException + trace - thrown 991 times.\n\n\nThis is how fabric.io works for mobile crashes/issues. It is possible to do something similar ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3355,"accepted":false,"category":"13-observability-apm","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-71549785","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71549785/is-is-possible-to-pretty-print-a-json-log-message-in-elasticsearch-kibana","posted_at":"2022-03-20T19:01:49.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"occasl","score":7,"kind":"question","title":"Is is possible to pretty print a JSON log message in ElasticSearch/Kibana","body":"I have logs being indexed by ElasticSearch from stdout of our application server. Without having to modify the source writing the logs, is it possible to \"pretty print\" any JSON log message? If I try to pretty-print the JSON from my logger, each line is logged as a separate entry in ES.\nIf I don't, I have this message shown in our Kibana/OpenSearch Dashboard as follows:\n\nWe're using the latest AWS OpenSearch 1.1.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1017,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-69774294","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/69774294/kibana-kql-search-saved-with-time-range","posted_at":"2021-10-29T20:10:50.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Paulo Merson","score":7,"kind":"question","title":"Kibana KQL search saved with time range","body":"I'm creating a saved search using Kibana Discover. On screen I can select the time range manually (default is \"Last 15 minutes\"). If I select \"Last 24 hours\" and Refresh the search, it works fine. However, when I save the search, the time range information is not saved. Whenever I open Kibana Discover and open my saved search, the time range is always the default (last 15 minutes).\nI tried adding different conditions (below) to my KQL query, to no avail.  :^(\n and @timestamp >= \"now-24h\"\n and @timestamp >= now-24h\n and timestamp >= \"now-24h\"\n and @timestamp >= \"now-1d/d\"\n etc.\n\nI also tried to \"Add filter\" using the @timestamp field. The only operators available are: is not, is one of, is not one of, is between, is not between, exists, does not exist.\n\nSo, I tried between now-24h and now. Yet, no results match the criteria.\nHowever, if I manually change the time range to say, Last 30 days, then my filter works!\n\nQuestion\nHow do I include the time range, say last 24 hours, in my KQL saved search so that it overrides the time range that is manually set on screen?\n(Motivation: I don't want to change the default manual time range to be larger than the range used in all saved searches. Also, I want to make the saved searches available to a support team with minimal manual configuration.)\n(I'm using Kibana v7.10.0.)","product":["kibana"],"versions":["10.0"],"lang":"en","answer_count":0,"view_count":1209,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":["kql","discover"]}
{"id":"so-64579714","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64579714/search-for-hostnames-in-kibana","posted_at":"2020-10-28T19:07:00.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"bluethundr","score":7,"kind":"question","title":"Search for hostnames in kibana","body":"I've tried searching for hostnames in kibana using part of the server name:\nB-wit-a2pgw-*\n\nAlso I tried:\nhostname: B-wit-a2pgw-*\n\nAnd:\ninstance: B-wit-a2pgw-*\n\nI have the time frame set to today. But nothing turns up in the kibana console. What am I doing wrong?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":1870,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-48420746","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48420746/visualise-timeseries-in-kibana-without-aggregate-metrics","posted_at":"2018-01-24T10:56:02.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"nmlq","score":7,"kind":"question","title":"Visualise timeseries in kibana without aggregate metrics","body":"Use case\n\nI generated some test json documents that I am sending into an index called test in elasticsearch in the following format:\n\n{\n\"name\": \"MyTestModel\",\n\"@timestamp\": 1516790713,\n\"performance\": {\n  \"precision\": 75.5,\n  \"recall\": 78.7,\n  \"f1-score\": 77.1,\n  \"accuracy\": 95.4\n}\n\n\nI can see them when searching, and know they are indexed properly.\n\nI would like to use timelion or visualize in kibana to be able to view a series of these documents as a line chart.\n\nBut in timelion I have tried many queries, but they don't seem to work.\n\n.elasticsearch(timefield=\"@timestamp\", index=test, q=\"MyTestModel\")\n\n\nI don't believe using aggregate metrics makes sense (count,min,avg, etc.) since they are values that are already computed a priori, so I am excluding them from .elasticsearch() .\n\nQuestion\n\nHow can you visualize the timeseries data in these json documents as a line graph in kibana (timelion or visualize)?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":978,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"neutral","tags":[]}
{"id":"so-46335580","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46335580/how-to-configure-fluentd-efk-with-filebeat","posted_at":"2017-09-21T04:38:04.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"rolz","score":7,"kind":"question","title":"How to configure FluentD (EFK) with Filebeat?","body":"I have configured ELK-stack (Elasticsearch, Logstash, and Kibana) cluster for centralized logging system with Filebeat. Now I have been asked to reconfigure to EFK (Elasticsearch, FluentD, and Kibana) with Filebeat. I have disabled the Logstash and Installed FluentD, But I'm not able to configure FluentD with Filebeat. I have installed FluentD plugin for Filebeat and modified /etc/td-agent/td-agent.conf, but it seems not working. \n\ntd-agent.conf\n\n<source>\n  @type beats\n  tag record['@metadata']['beat']\n  port 5044\n  bind 0.0.0.0\n</source>\n\n<match *.**>\n  @type copy\n   <store>\n    #@type file\n    @type elasticsearch_dynamic\n    logstash_format true\n    logstash_prefix ${tag_parts[0]}\n    type_name ${record['type']}\n  </store>\n  <store>\n    @type file\n    logstash_format true\n    logstash_prefix ${tag_parts[0]}\n    type_name ${record['type']}\n    path /var/log/td-agent/data_logs.*.log\n </store>\n</match>","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6703,"accepted":false,"category":"04-performance-and-load","secondary_categories":["12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-43619645","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/43619645/grouping-messages-by-similarity-in-kibana","posted_at":"2017-04-25T19:45:45.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Vitaliy","score":7,"kind":"question","title":"Grouping messages by similarity in Kibana","body":"Does Kibana support grouping of log messages by similarity OOB?\n\nGiven that I know a specific log message with a variable in it, I could use a grok query. The problem is that I want to have a grouping of an unspecified amount of message 'kinds'.\n\nSo for a log that looks like this:\n\n[error] entity foo with id 2 is misisng\n[error] cant process row with id 46\n[error] entity frob with id 16 is misisng\n[error] cant process row with id 95\n\n\nI would expect the output to produce two groups one for the 'kind' of entity  with id  is missing and another for the 'kind' cant process row with id .\n\nI am using Kibana 5.1.1","product":["kibana"],"versions":["5.1.1"],"lang":"en","answer_count":0,"view_count":194,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-39661331","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39661331/using-elasticsearch-and-kibana-for-business-intelligence","posted_at":"2016-09-23T12:54:48.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Mac","score":7,"kind":"question","title":"Using ElasticSearch and Kibana for Business Intelligence","body":"We are using ElasticSearch for search capability in our product. This works fine.\n\nNow we want to provide self service Business intelligence to our customers. Reporting on the operational database sucks due to performance impact. At the run-time, calculating average 'order resolution time' for 10 million records would not fetch the results in time. Traditional way is to create a data mart by loading the operational data using ETL and summarizing it. Then use any reporting engine, to offer metrics and reports to customers. This approach works but increases total cost of ownership for our customers.\n\nI am wondering if anybody has used ElasticSearch as the intermediate data surface for reporting. Can Kibana serve the data exploration, visualization need?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":2125,"accepted":true,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring","04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-30703735","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30703735/kibana-4-map-view-with-iso-countrycodes","posted_at":"2015-06-08T07:49:51.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Mert Avci","score":7,"kind":"question","title":"Kibana 4 Map View with ISO CountryCodes","body":"I have a issue with plotting my data set on Iso Country code. The only option available seems to be Geo Coordinates. Is their option for Iso country code or not? I have been looking around on the net for a while and can’t find any good thread or any solution on this problem. If it´s not possible, is there any workaround on this problem?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":452,"accepted":false,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-21589740","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21589740/use-nested-fields-in-kibana-panels","posted_at":"2014-02-05T22:16:11.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Kevin","score":7,"kind":"question","title":"Use nested fields in kibana panels","body":"I tried to display a Kibana dashboard and it works well. Unfortunately, when I want to add a pie chart (or another representation) containing the countries of the companies locations, I have an empty panel. \n\nI'm able to use the kibana queries to filter on a specific country but I'm not able to display a panel with nested documents.\n\nMy mapping (I have to use nested fields because a company can have several locations):\n\n{\n  \"settings\" : {\n    \"number_of_shards\" : 1\n  },\n  \"mappings\": {\n    \"company\" : {\n      \"properties\" : {\n        \"name\" : { \"type\" : \"string\", \"store\" : \"yes\" },\n        \"website\" : { \"type\" : \"string\", \"store\" : \"yes\" },\n        \"employees\" : { \"type\" : \"string\", \"store\" : \"yes\" },\n        \"type\": { \"type\" : \"string\", \"store\" : \"yes\" },\n        \"locations\" : {\n          \"type\" : \"nested\",\n          \"properties\" : {\n            \"city\" : { \"type\" : \"string\", \"store\" : \"yes\" },\n            \"country\" : { \"type\" : \"string\", \"store\" : \"yes\" },\n            \"coordinates\" : { \"type\" : \"geo_point\", \"store\" : \"yes\" }\n          }\n        }\n      }\n    }\n  }\n}\n\n\nDo you know how could I display panel with nested objects? Is it implemented?\n\nThanks,\nKevin","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3928,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo","05-index-patterns-data-views","03-visualization-quality"],"sentiment":"positive","tags":[]}
{"id":"so-40615498","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40615498/kibana5-index-pattern-does-not-contain-any-of-the-following-field-types","posted_at":"2016-11-15T16:56:15.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"NikoNyrh","score":6,"kind":"question","title":"Kibana5, index pattern does not contain any of the following field types: *","body":"I have successfully set up a Kibana 4.x dashboard along with Elasticsearch 2.x, but I feel 5.x versions should be the future-proof way to go. However for some reason Kibana fails to recognize any field types when trying to visualize data, although it correctly shows types on settings and discovery views.\n\nPrior questions on this seemed to be about geo_point types but here I'm just hoping to use basic numeric and non-analyzed string fields.\n\nBoth are running in a Docker container without any modifications to settings, FROM: kibana:5 and FROM: elasticsearch:5. I only have one index on this Poc Elasticsearch instance and it has an explicit mapping of types. I assume this configuration works for ES 5.x as well as for 2.x:\n\n{\n  \"mappings\": {\n    \"entry\": {\n      \"_source\": {\n        \"enabled\": true\n      },\n      \"properties\": {\n        \"times\": {\n          \"type\": \"float\"\n        },\n        \"tot_calls\": {\n          \"type\": \"integer\"\n        },\n        \"time\": {\n          \"type\": \"float\"\n        },\n        \"datetime\": {\n          \"type\": \"date\",\n          \"format\": \"YYYY-MM-dd HH:mm:ssZ\"\n        },\n        \"datetime_num\": {\n          \"type\": \"long\"\n        },\n        \"env\": {\n          \"type\": \"string\",\n          \"index\": \"not_analyzed\",\n          \"norms\": {\n            \"enabled\": false\n          }\n        },\n        \"ip\": {\n          \"type\": \"ip\"\n        },\n        \"day\": {\n          \"type\": \"integer\"\n        },\n        \"tags\": {\n          \"type\": \"string\",\n          \"index\": \"not_analyzed\",\n          \"norms\": {\n            \"enabled\": false\n          }\n        },\n        \"name\": {\n          \"type\": \"string\",\n          \"index\": \"not_analyzed\",\n          \"norms\": {\n            \"enabled\": false\n          }\n        },\n        \"tot_times\": {\n          \"type\": \"float\"\n        }\n      },\n      \"_all\": {\n        \"enabled\": false\n      }\n    }\n  },\n  \"settings\": {\n    \"number_of_shards\": 3,\n    \"number_of_replicas\": 0\n  }\n}\n\n\nAt least _source looks valid on stored documents. Any tips on how to resolve this would be welcome! The status on different views:","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12359,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo","02-discover-and-kql","01-dashboard-authoring"],"sentiment":"negative","tags":[]}
{"id":"so-28696637","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28696637/make-kibana-4-remain-running-after-disconnecting-ssh-session","posted_at":"2015-02-24T13:06:59.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Jochen van Wylick","score":6,"kind":"question","title":"Make Kibana 4 remain running after disconnecting SSH session","body":"I've installed ElasticSearch and Kibana edge versions on a Ubuntu Linux 14 box. So that's Kibana 4 on ElasticSearch 1.4.4.\n\nRuns and works like a charm through: ./bin/kibana\n\nHowever, as soon as I disconnect my Putty session, Kibana stops working. ElasticSearch keeps listening on port 9200, but Kibana cannot be reached at 5601 anymore.\n\nDifference seems to be that Kibana runs in the 'foreground' - since as soon as you run it - you see log messages flying by all the time. Using -q will make it quiet indeed - but not run in the background.\n\nSo I read somewhere that running it in the background might work: ./bin/kibana &. It doesn't. Neither does CTRL-Z and then bg work.\n\nSo maybe, the reason is that I run Kibana under the logged in user and when I log out, it kills all processes of that user. So I tried sudo adduser kibanarunner and sudo -u kibanarunner ./bin/kibana but that didn't do the trick either.\n\nI want Kibana to stay up-and-running after I stop my SSH session - how can I do this?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":10237,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-33882632","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33882632/how-to-stop-kibana-not-as-a-service","posted_at":"2015-11-23T23:18:30.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"dagatsoin","score":6,"kind":"question","title":"how to stop kibana (not as a service)?","body":"I am trying to stop kibana on SSH with kill but it respawns immediatly\n\n[email protected] [~/logstash]# ps aux | grep kibana\n533      28778  0.0  0.0   9292   876 pts/2    S+   00:16   0:00 grep kibana\n[email protected] [~/logstash]# kill -kill 28778\n-bash: kill: (28778) - Aucun processus de ce type\n[email protected] [~/logstash]# ps aux | grep kibana\n533      28780  0.0  0.0   9292   876 pts/2    S+   00:16   0:00 grep kibana\n[email protected] [~/logstash]# \n\n\nHow do you kill this process ?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":16998,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-35646744","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35646744/linux-how-to-kill-kibana-process","posted_at":"2016-02-26T08:21:05.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Prasanna Sujeewa","score":6,"kind":"question","title":"Linux - How to kill kibana process","body":"How to kill/stop Kibana process ?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":14772,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-65371714","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/65371714/getting-elastic-did-not-load-properly-check-the-server-output-for-more-informa","posted_at":"2020-12-19T16:01:15.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Ohad Malinovsky","score":6,"kind":"question","title":"Getting &quot;Elastic did not load properly. Check the server output for more information.&quot; when accessing through gatekeeper","body":"I'm using a Gatekeeper (quay.io/keycloak/keycloak-gatekeeper:10.0.0) for SSO with keycloak (docker.io/jboss/keycloak:11.0.2) on Kibana (docker.elastic.co/kibana/kibana-oss:7.10.1)\nMy gatekeeper config:\ndiscovery-url: http://{{ index .Values.gatekeeper.config \"keycloak-url\" }}/auth/realms/{{ .Values.gatekeeper.config.realm }}\nskip-openid-provider-tls-verify: true\nclient-id: {{ index .Values.gatekeeper.config \"client-id\" }}\nclient-secret: {{ index .Values.gatekeeper.config \"client-secret\" }}\nlisten: :3000\nenable-refresh-tokens: true\nenable-default-deny: true\nenable-session-cookies: true\ntls-cert:\ntls-private-key:\nredirection-url: http://{{ index .Values.gatekeeper.config \"redirection-url\" }}:{{ .Values.service.nodePort }}\nsecure-cookie: false\nencryption-key: {{ index .Values.gatekeeper.config \"encryption-key\" }}\nupstream-url: http://127.0.0.1:5601/\nforbidden-page: /html/access-forbidden.html\nupstream-keepalives: true\nresources:\n- uri: /*\n\nI'm able to get to the keycloak login page but after successful login (and after Kibana loader has finished loading) i get an error page:\n\nfrom kibana logs i see:\n{\"type\":\"log\",\"@timestamp\":\"2020-12-19T15:50:58Z\",\"tags\":[\"debug\",\"connection\",\"econnreset\"],\"pid\":8,\"message\":\"ECONNRESET: Socket was closed by the client (probably the browser) before\n\nit could be read completely\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-12-19T15:51:00Z\",\"tags\":[\"debug\",\"connection\",\"econnreset\"],\"pid\":8,\"message\":\"ECONNRESET: Socket was closed by the client (probably the browser) before\nit could be read completely\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-12-19T15:51:01Z\",\"tags\":[\"debug\",\"connection\",\"econnreset\"],\"pid\":8,\"message\":\"ECONNRESET: Socket was closed by the client (probably the browser) before it could be read completely\"}\nDid anyone eve encountered this before? How can i fix this?\nThanks","product":["kibana"],"versions":["10.0.0","11.0.2","7.10.1"],"lang":"en","answer_count":2,"view_count":11210,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["08-spaces-and-rbac","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-49222190","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49222190/renaming-example-kibana-dashboards","posted_at":"2018-03-11T16:18:09.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"g_suren","score":6,"kind":"question","title":"Renaming example Kibana dashboards","body":"Is there a way to rename the example Kibana Dashboards that comes with filebeat?\nThe Configuration Dashboard and Configuration Template do help in changing the elasticsearch index name and index name defined in the dashboard. \n\nThe default kibana dashboard, for example, is \"[Filebeat Apache2] Access and error logs\", my objective is to change it to [Customname Apache2] Access and error logs\". I also want the change to be reflected in example visualization samples and saved search samples.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8740,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-35838208","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35838208/recreation-of-mapping-elastic-search","posted_at":"2016-03-07T07:19:53.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"siddhartha jain","score":6,"kind":"question","title":"Recreation of mapping elastic search","body":"logstash configI have created my index on elasticsearch and through kibana as well and have uploaded data. Now i want to change the mapping for the index and change some fields to not analyzed .Below is my mapping which i want to replace from existing one . But when i run below command it gives me error \n\n\n  {\"error\":{\"root_cause\":[{\"type\":\"index_already_exists_exception\",\"reason\":\"already\n  exists\",\"index\":\"rettrmt\"}],\"type\":\"index_already_exists_exception\",\"reason\":\"already\n  exists\",\"index\":\"rettrmt\"},\"status\":400}\n\n\nKindly help to get it close.\n\ncurl -XPUT 'http://10.56.139.61:9200/rettrmt' -d '{\n  \"rettrmt\": {\n    \"aliases\": {},\n    \"mappings\": {\n      \"RETTRMT\": {\n        \"properties\": {\n          \"@timestamp\": {\n            \"type\": \"date\",\n            \"format\": \"strict_date_optional_time||epoch_millis\"\n          },\n          \"@version\": {\n            \"type\": \"string\"\n          },\n          \"acid\": {\n            \"type\": \"string\"\n          },\n          \"actor_id\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"actor_type\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"channel_id\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"circle\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"cr_dr_indicator\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"host\": {\n            \"type\": \"string\"\n          },\n          \"message\": {\n            \"type\": \"string\"\n          },\n          \"orig_input_amt\": {\n            \"type\": \"double\"\n          },\n          \"path\": {\n            \"type\": \"string\"\n          },\n          \"r_cre_id\": {\n            \"type\": \"string\"\n          },\n          \"sub_use_case\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          },\n          \"tran_amt\": {\n            \"type\": \"double\"\n          },\n          \"tran_id\": {\n            \"type\": \"string\"\n          },\n          \"tran_particulars\": {\n            \"type\": \"string\"\n          },\n          \"tran_particulars_2\": {\n            \"type\": \"string\"\n          },\n          \"tran_remarks\": {\n            \"type\": \"string\"\n          },\n          \"tran_sub_type\": {\n            \"type\": \"string\"\n          },\n          \"tran_timestamp\": {\n            \"type\": \"date\",\n            \"format\": \"strict_date_optional_time||epoch_millis\"\n          },\n          \"tran_type\": {\n            \"type\": \"string\"\n          },\n          \"type\": {\n            \"type\": \"string\"\n          },\n          \"use_case\": {\n            \"type\": \"string\",\n            \"index\": \"not_analyzed\"\n          }\n        }\n      }\n    },\n    \"settings\": {\n      \"index\": {\n        \"creation_date\": \"1457331693603\",\n        \"uuid\": \"2bR0yOQtSqqVUb8lVE2dUA\",\n        \"number_of_replicas\": \"1\",\n        \"number_of_shards\": \"5\",\n        \"version\": {\n          \"created\": \"2000099\"\n        }\n      }\n    },\n    \"warmers\": {}\n  }\n}'","product":["kibana"],"versions":["10.56"],"lang":"en","answer_count":2,"view_count":14042,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-70964916","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/70964916/kibana-user-you-do-not-have-permission-to-access-the-requested-page","posted_at":"2022-02-03T01:26:10.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"user312307","score":6,"kind":"question","title":"Kibana user - You do not have permission to access the requested page","body":"Kibana user - You do not have permission to access the requested page.\nI created a role for few indices and assigned this role to the user. Still I get this error. Can someone please guide me?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7678,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-60626241","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60626241/fluentd-not-parsing-json-log-file-entry","posted_at":"2020-03-10T21:32:35.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Rich","score":6,"kind":"question","title":"fluentd not parsing JSON log file entry","body":"I've seen a number of similar questions on Stackoverflow, including this one. But none address my particular issue.\n\nThe application is deployed in a Kubernetes (v1.15) cluster. I'm using a docker image based on the fluent/fluentd-docker-image GitHub repo, v1.9/armhf, modified to include the elasticsearch plugin. Elasticsearch and Kibana are both version 7.6.0.\n\nThe logs are going to stdout and look like:\n\n{\"Application\":\"customer\",\"HTTPMethod\":\"GET\",\"HostName\":\"\",\"RemoteAddr\":\"10.244.4.154:51776\",\"URLPath\":\"/customers\",\"level\":\"info\",\"msg\":\"HTTP request received\",\"time\":\"2020-03-10T20:17:32Z\"}\n\n\nIn Kibana I'm seeing something like this:\n\n{\n  \"_index\": \"logstash-2020.03.10\",\n  \"_type\": \"_doc\",\n  \"_id\": \"p-UZxnABBcooPsDQMBy_\",\n  \"_version\": 1,\n  \"_score\": null,\n  \"_source\": {\n    \"log\": \"{\\\"Application\\\":\\\"customer\\\",\\\"HTTPMethod\\\":\\\"GET\\\",\\\"HostName\\\":\\\"\\\",\\\"RemoteAddr\\\":\\\"10.244.4.154:46160\\\",\\\"URLPath\\\":\\\"/customers\\\",\\\"level\\\":\\\"info\\\",\\\"msg\\\":\\\"HTTP request received\\\",\\\"time\\\":\\\"2020-03-10T20:18:18Z\\\"}\\n\",\n    \"stream\": \"stdout\",\n    \"docker\": {\n      \"container_id\": \"cd1634b0ce410f3c89fe63f508fe6208396be87adf1f27fa9d47a01d81ff7904\"\n    },\n    \"kubernetes\": {\n\n\nI'm expecting to see the JSON pulled from the log: value somewhat like this (abbreviated):\n\n{\n  \"_index\": \"logstash-2020.03.10\",\n  ...\n  \"_source\": {\n    \"log\": \"...\",   \n    \"Application\":\"customer\",\n    \"HTTPMethod\":\"GET\",\n    \"HostName\":\"\",\n    \"RemoteAddr\":\"10.244.4.154:46160\",\n    \"URLPath\":\"/customers\",\n    \"level\":\"info\",\n    \"msg\":\"HTTP request received\",\n    \"time\":\"2020-03-10T20:18:18Z\",\n    \"stream\": \"stdout\",\n    \"docker\": {\n      \"container_id\": \"cd1634b0ce410f3c89fe63f508fe6208396be87adf1f27fa9d47a01d81ff7904\"\n    },\n    \"kubernetes\": {\n\n\nMy fluentd config is:\n\nmatch fluent.**>\n  @type null\n</match>\n\n<source>\n  @type tail\n  path /var/log/containers/*.log\n  pos_file /var/log/fluentd-containers.log.pos\n  time_format %Y-%m-%dT%H:%M:%S.%NZ\n  tag kubernetes.*\n  format json\n  read_from_head true\n</source>\n\n<match kubernetes.var.log.containers.**fluentd**.log>\n  @type null\n</match>\n<match kubernetes.var.log.containers.**kube-system**.log>\n  @type null\n</match>\n<filter kubernetes.**>\n  @type kubernetes_metadata\n</filter>\n\n<match **>\n   @type elasticsearch\n   @id out_es\n   @log_level info\n   include_tag_key true\n   host \"#{ENV['FLUENT_ELASTICSEARCH_HOST']}\"\n   port \"#{ENV['FLUENT_ELASTICSEARCH_PORT']}\"\n   path \"#{ENV['FLUENT_ELASTICSEARCH_PATH']}\"\n   <format>\n      @type json\n   </format>\n</match>\n\n\nI'm sure I'm missing something. Can anyone point me in the right direction?\n\nThanks,\nRich","product":["kibana"],"versions":["7.6.0"],"lang":"en","answer_count":3,"view_count":11273,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-44747836","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44747836/add-timestamp-field-in-elasticsearch-with-python","posted_at":"2017-06-25T15:30:07.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"chindit","score":6,"kind":"question","title":"Add @timestamp field in ElasticSearch with Python","body":"I'm using Python to add entries in a local ElasticSearch (localhost:9200)\n\nCurrently, I use this method:\n\ndef insertintoes(data):\n\"\"\"\nInsert data into ElasicSearch\n:param data: dict\n:return:\n\"\"\"\ntimestamp = data.get('@timestamp')\nlogstashIndex = 'logstash-' + timestamp.strftime(\"%Y.%m.%d\")\nes = Elasticsearch()\nif not es.indices.exists(logstashIndex):\n    # Setting mappings for index\n    mapping = '''\n        {\n            \"mappings\": {\n                  \"_default_\": {\n                    \"_all\": {\n                      \"enabled\": true,\n                      \"norms\": false\n                    },\n                    \"dynamic_templates\": [\n                      {\n                        \"message_field\": {\n                          \"path_match\": \"message\",\n                          \"match_mapping_type\": \"string\",\n                          \"mapping\": {\n                            \"norms\": false,\n                            \"type\": \"text\"\n                          }\n                        }\n                      },\n                      {\n                        \"string_fields\": {\n                          \"match\": \"*\",\n                          \"match_mapping_type\": \"string\",\n                          \"mapping\": {\n                            \"fields\": {\n                              \"keyword\": {\n                                \"type\": \"keyword\"\n                              }\n                            },\n                            \"norms\": false,\n                            \"type\": \"text\"\n                          }\n                        }\n                      }\n                    ],\n                    \"properties\": {\n                      \"@timestamp\": {\n                        \"type\": \"date\",\n                        \"include_in_all\": true\n                      },\n                      \"@version\": {\n                        \"type\": \"keyword\",\n                        \"include_in_all\": true\n                      }\n                    }\n                  }\n            }\n        }\n    '''\n    es.indices.create(logstashIndex, ignore=400, body=mapping)\n\nes.index(index=logstashIndex, doc_type='system', timestamp=timestamp, body=data)\n\n\ndata is a dict structure with a valid @timestamp defined like this data['@timestamp'] = datetime.datetime.now()\n\nThe problem is, even if there is a timestamp value in my data, Kibana doesn't show the entry in «discovery» field. :(\n\nHere is an example of a full entry in ElasicSearch:\n\n\n{\n        \"_index\": \"logstash-2017.06.25\",\n        \"_type\": \"system\",\n        \"_id\": \"AVzf3QX3iazKBndbIkg4\",\n        \"_score\": 1,\n        \"_source\": {\n          \"priority\": 6,\n          \"uid\": 0,\n          \"gid\": 0,\n          \"systemd_slice\": \"system.slice\",\n          \"cap_effective\": \"1fffffffff\",\n          \"exe\": \"/usr/bin/bash\",\n          \"hostname\": \"ns3003395\",\n          \"syslog_facility\": 9,\n          \"comm\": \"crond\",\n          \"systemd_cgroup\": \"/system.slice/cronie.service\",\n          \"systemd_unit\": \"cronie.service\",\n          \"syslog_identifier\": \"CROND\",\n          \"message\": \"(root) CMD (/usr/local/rtm/bin/rtm 14 > /dev/null 2> /dev/null)\",\n          \"systemd_invocation_id\": \"9228b6c72e6a4624a1806e4c59af8d04\",\n          \"syslog_pid\": 26652,\n          \"pid\": 26652,\n          \"@timestamp\": \"2017-06-25T17:27:01.734453\"\n        }\n      }\n\n\nAs you can see, there IS a @timestamp field but it doesn't seems to be what Kibana expects.\n\nAnd don't know what to do to make my entries visible in Kibana.\n\nAny idea ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":23181,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["12-maps-and-geo","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-28678058","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28678058/kibana-not-working-at-http-localhost5601-url","posted_at":"2015-02-23T16:10:31.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"user4556747","score":6,"kind":"question","title":"Kibana Not working at http://localhost:5601 URL","body":"I am trying to install kibana 4.0.0 for windows. I have extracted the zip file and followed the instruction shown in the documentation. After running the .bat file I tried to access http://localhost:5601 but nothing was loaded. How to solve this problem?\nHere is my kibana.yml file contents\n\n # Kibana is served by a back end server. This controls which port to use.\nport: 5601\n\n# The host to bind the server to.\nhost: \"0.0.0.0\"\n\n# The Elasticsearch instance to use for all your queries.\nelasticsearch_url: \"http://localhost:9200\"\n\n# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false,\n# then the host you use to connect to *this* Kibana instance will be sent.\nelasticsearch_preserve_host: true\n\n# Kibana uses an index in Elasticsearch to store saved searches, visualizations\n# and dashboards. It will create a new index if it doesn't already exist.\nkibana_index: \".kibana\"\n\n# If your Elasticsearch is protected with basic auth, this is the user credentials\n# used by the Kibana server to perform maintence on the kibana_index at statup. Your Kibana\n# users will still need to authenticate with Elasticsearch (which is proxied thorugh\n# the Kibana server)\n# kibana_elasticsearch_username: user\n# kibana_elasticsearch_password: pass\n\n\n# The default application to load.\ndefault_app_id: \"discover\"\n\n# Time in milliseconds to wait for responses from the back end or elasticsearch.\n# This must be > 0\nrequest_timeout: 300000\n\n# Time in milliseconds for Elasticsearch to wait for responses from shards.\n# Set to 0 to disable.\nshard_timeout: 0\n\n# Set to false to have a complete disregard for the validity of the SSL\n# certificate.\nverify_ssl: true\n\n# If you need to provide a CA certificate for your Elasticsarech instance, put\n# the path of the pem file here.\n# ca: /path/to/your/CA.pem\n\n# SSL for outgoing requests from the Kibana Server (PEM formatted)\n# ssl_key_file: /path/to/your/server.key\n# ssl_cert_file: /path/to/your/server.crt\n\n# Set the path to where you would like the process id file to be created.\n# pid_file: /var/run/kibana.pid\n\n\n# Plugins that are included in the build, and no longer found in the plugins/ folder\nbundled_plugin_ids:\n - plugins/dashboard/index\n - plugins/discover/index\n - plugins/doc/index\n - plugins/kibana/index\n - plugins/markdown_vis/index\n - plugins/metric_vis/index\n - plugins/settings/index\n - plugins/table_vis/index\n - plugins/vis_types/index\n - plugins/visualize/index","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":43793,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","10-docs-and-ux","04-performance-and-load"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-68077306","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/68077306/how-can-i-add-time-range-filter-in-kibana-discover-page","posted_at":"2021-06-22T03:53:04.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Joey Yi Zhao","score":6,"kind":"question","title":"How can I add time range filter in Kibana Discover page?","body":"I deployed Kibana 7.10.1 and Elasitcsearch 7.10.1. I am able to query from Kibana discover page. But I found the time range filter on the top right disappeared. How can I add it in the discover page?","product":["kibana"],"versions":["7.10.1"],"lang":"en","answer_count":3,"view_count":4636,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":["discover"]}
{"id":"so-54464330","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54464330/kibana-visualization-customize-legend-labels","posted_at":"2019-01-31T15:50:49.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"biscuit314","score":6,"kind":"question","title":"Kibana visualization - Customize legend labels","body":"I have a stacked bar chart, split by a boolean field.  This causes the legend to appear with two colours (cool!) but the legend has these values: true and false.  To the reader, there is no context for what is true or false means.\n\n\n\nIn this case, the field name is is_active.  \n\nAt the very least having the field name appear in the legend will help people read and understand the chart.\n\nBetter:  Is there a way to replace \"true\" and \"false\" with \"Active\" and \"Inactive\" respectively?\n\nI tried this Advanced->JSON Input:\n\n{\n  \"script\": {\n    \"inline\": \"doc['is_active'].value ? 'Active' : 'Inactive'\",\n    \"lang\": \"painless\"\n  }\n}\n\n\nWhich results in an error \"String cannot be cast to java.lang.Number\".  If I replace the strings in the JSON Input with numbers, the numbers do indeed appear in the legend.  No help though.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7506,"accepted":true,"category":"03-visualization-quality","secondary_categories":["01-dashboard-authoring"],"sentiment":"negative","tags":[]}
{"id":"so-40668339","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40668339/kibana-elastic-search-to-return-only-specific-fields-from-the-interface","posted_at":"2016-11-18T02:17:06.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Prabhakaran","score":6,"kind":"question","title":"Kibana-Elastic Search to return only specific fields from the interface","body":"I have a internal portal with Kibana-Elastic search for log management and I have a set of fields. How can I form a query along with the search phrase to retrieve & show only specified fields as results in it?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":14227,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-33626323","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33626323/missing-data-when-using-unique-count-and-creating-an-aggregation-in-kibana","posted_at":"2015-11-10T09:08:45.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"jaspernygaard","score":6,"kind":"question","title":"Missing data when using unique count and creating an aggregation in Kibana","body":"I have a behavior in Kibana, I can't explain. The following is a simple bar chart, counting unique users, filtered by application and a role, and ensuring certain fields exist on the logs:\n\n\n\nThis graph shows that I have approx. 170 users which have the role 'Landmand'. If I split the bar by the term 'fields.Role', I would expect a identical chart, since I already applied a filter specifying 'fields.Role:Landmand' in the search. However I see this.\n\n\n\nThis suddenly limits the unique count to approx. 150 users. I've tried with different fields and it seems to have the same behavior - as soon as I split the bar, I seem to limit the data somehow. \n\nAny information is greatly appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3045,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-31994187","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31994187/add-timestamp-to-elasticsearch-with-elasticsearch-py-using-bulk-api","posted_at":"2015-08-13T16:53:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"CookieEmpire","score":6,"kind":"question","title":"Add Timestamp to ElasticSearch with Elasticsearch-py using Bulk-API","body":"I'm trying to add a timestamp to my data, have elasticsearch-py bulk index it, and then display the data with kibana.  \n\nMy data is showing up in kibana, but my timestamp is not being used.  When I go to the \"Discovery\" tab after configuring my index pattern, I get 0 results (yes, I tried adjusting the search time).\n\nHere is what my bulk index json looks like:\n\n{'index': \n         {'_timestamp': u'2015-08-11 14:18:26', \n          '_type': 'webapp_fingerprint', \n          '_id': u'webapp_id_redacted_2015_08_13_12_39_34',\n          '_index': 'webapp_index'\n         }\n}\n\n****JSON DATA HERE***\n\n\nThis will be accepted by elasticsearch and will get imported into Kibana, but the _timestamp field will not actually be indexed (it does show up in the dropdown when configuring an index pattern under \"Time-field name\").\n\nI also tried formatting the metaFields like this:\n\n{'index': {\n           '_type': 'webapp_fingerprint', \n           '_id': u'webapp_id_redacted_2015_08_13_12_50_04', \n           '_index': 'webapp_index'\n          }, \n           'source': {\n                      '_timestamp': {\n                                     'path': u'2015-08-11 14:18:26',\n                                     'enabled': True, \n                                     'format': 'YYYY-MM-DD HH:mm:ss'\n                                    }\n                     }\n}\n\n\nThis also doesn't work.\n\nFinally, I tried including the _timestamp field within the index and applying the format, but I got an error with elasticsearch.  \n\n{'index': {\n           '_timestamp': {\n                          'path': u'2015-08-11 14:18:26', \n                          'enabled': True, \n                          'format': 'YYYY-MM-DD HH:mm:ss'\n                         }, \n           '_type': 'webapp_fingerprint', \n           '_id': u'webapp_id_redacted_2015_08_13_12_55_53', \n           '_index': 'webapp_index'\n          }\n}\n\n\nThe error is:\n\n\nelasticsearch.exceptions.TransportError: \nTransportError(500,u'IllegalArgumentException[Malformed action/metadata \nline [1], expected a simple value for field [_timestamp] but found [START_OBJECT]]')\n\n\n\nAny help someone can provide would be greatly appreciated.  I apologize if I haven't explained the issue well enough.  Let me know if I need to clarify more. Thanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":10597,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views"],"sentiment":"positive","tags":[]}
{"id":"so-56014382","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56014382/enable-xpack-features-on-open-distro-for-elasticsearch","posted_at":"2019-05-07T01:35:08.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"zarak","score":6,"kind":"question","title":"Enable xpack features on Open Distro For Elasticsearch","body":"I'm testing ODFE (version 0.9 at the moment), and I find the lack of xpack features annoying. Would it be possible to activate some of them (the free ones of course) on ODFE ? I really appreciate the monitoring section for example, or the ILM API. Kibana feels kind of empty with ODFE :(\n\nI've searched a bit around, but since many versions xpack is no longer a plugin but is built-in, however I find no trace of xpack in ODFE. \n\nIs there any good replacements, or ways to install it ? \n\nCheers,","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":5570,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-19907907","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/19907907/kibana-display-average-times","posted_at":"2013-11-11T13:45:02.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"henry.oswald","score":6,"kind":"question","title":"kibana - display average times","body":"I am using kibana 3 to display my nginx logs which include the request_time, I would like a graph to display the average request times over the last x seconds in kibana but am not sure how todo this. Is this easily done or do I need to push it out to graphite?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":13252,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-48396343","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48396343/kibana-is-not-connecting-to-elasticsearch","posted_at":"2018-01-23T07:31:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Zhao Li","score":6,"kind":"question","title":"Kibana is not connecting to ElasticSearch","body":"I am trying to use the Kubernetes 1.7.12 fluentd-elasticsearch addon:\nhttps://github.com/kubernetes/kubernetes/tree/v1.7.12/cluster/addons/fluentd-elasticsearch\n\nElasticSearch starts up and can respond with:\n\n{\n \"name\" : \"0322714ad5b7\",\n \"cluster_name\" : \"kubernetes-logging\",\n \"cluster_uuid\" : \"_na_\",\n \"version\" : {\n   \"number\" : \"2.4.1\",\n   \"build_hash\" : \"c67dc32e24162035d18d6fe1e952c4cbcbe79d16\",\n   \"build_timestamp\" : \"2016-09-27T18:57:55Z\",\n   \"build_snapshot\" : false,\n   \"lucene_version\" : \"5.5.2\"\n },\n \"tagline\" : \"You Know, for Search\"\n}\n\n\nBut Kibana is still unable to connect to it.  The connection error starts out with:\n\n{\"type\":\"log\",\"@timestamp\":\"2018-01-23T07:42:06Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":6,\"message\":\"Unable to revive connection: http://elasticsearch-logging:9200/\"}\n{\"type\":\"log\",\"@timestamp\":\"2018-01-23T07:42:06Z\",\"tags\":[\"warning\",\"elasticsearch\"],\"pid\":6,\"message\":\"No living connections\"}\n\n\nAnd after ElasticSearch is up, the error changes to:\n\n{\"type\":\"log\",\"@timestamp\":\"2018-01-23T07:42:08Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":6,\"state\":\"red\",\"message\":\"Status changed from red to red - Service Unavailable\",\"prevState\":\"red\",\"prevMsg\":\"Unable to connect to Elasticsearch at http://elasticsearch-logging:9200.\"}\n\n\nSo it seems as though, Kibana is finally able to get a response from ElasticSearch, but a connection still cannot be established.\n\nThis is what the Kibana dashboard looks like:\n\n\nI tried to get the logs to output more information, but do not have enough knowledge about Kibana and ElasticSearch to know what else I can try next.\n\nI am able to reproduce the error locally using this docker-compose.yml:\n\nversion: '2'\nservices:\n elasticsearch-logging:\n   image: gcr.io/google_containers/elasticsearch:v2.4.1-2\n   ports:\n     - \"9200:9200\"\n     - \"9300:9300\"\n\n kibana-logging:\n   image: gcr.io/google_containers/kibana:v4.6.1-1\n   ports:\n     - \"5601:5601\"\n   depends_on:\n     - elasticsearch-logging\n   environment:\n     - ELASTICSEARCH_URL=http://elasticsearch-logging:9200\n\n\nIt doesn't look like there should be much involved based on what I can tell from this question:\nKibana on Docker cannot connect to Elasticsearch\nand this blog: https://gunith.github.io/docker-kibana-elasticsearch/\n\nBut I can't figure out what I'm missing.\n\nAny ideas what else I might be able to try?\n\nThank you for your time. :)\n\nUpdate 1:\n\ncurling http://elasticsearch-logging on the Kubernetes cluster resulted in the same output:\n\n{\n  \"name\" : \"elasticsearch-logging-v1-68km4\",\n  \"cluster_name\" : \"kubernetes-logging\",\n  \"cluster_uuid\" : \"_na_\",\n  \"version\" : {\n    \"number\" : \"2.4.1\",\n    \"build_hash\" : \"c67dc32e24162035d18d6fe1e952c4cbcbe79d16\",\n    \"build_timestamp\" : \"2016-09-27T18:57:55Z\",\n    \"build_snapshot\" : false,\n    \"lucene_version\" : \"5.5.2\"\n  },\n  \"tagline\" : \"You Know, for Search\"\n}\n\n\ncurling http://elasticsearch-logging/_cat/indices?pretty on the Kubernetes cluster timed out because of a proxy rule.  Using the docker-compose.yml and curling locally (e.g. curl localhost:9200/_cat/indices?pretty) results in:\n\n{\n  \"error\" : {\n    \"root_cause\" : [ {\n      \"type\" : \"master_not_discovered_exception\",\n      \"reason\" : null\n    } ],\n    \"type\" : \"master_not_discovered_exception\",\n    \"reason\" : null\n  },\n  \"status\" : 503\n}\n\n\nThe docker-compose logs show:\n\n[2018-01-23 17:04:39,110][DEBUG][action.admin.cluster.state] [ac1f2a13a637] no known master node, scheduling a retry\n\n[2018-01-23 17:05:09,112][DEBUG][action.admin.cluster.state] [ac1f2a13a637] timed out while retrying [cluster:monitor/state] after failure (timeout [30s])\n[2018-01-23 17:05:09,116][WARN ][rest.suppressed          ] path: /_cat/indices, params: {pretty=}\nMasterNotDiscoveredException[null]\n     at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$5.onTimeout(TransportMasterNodeAction.java:234)\n     at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:236)\n     at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:804)\n     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n     at java.lang.Thread.run(Thread.java:745)\n\n\nUpdate 2:\nRunning kubectl --namespace kube-system logs -c kubedns po/kube-dns-667321983-dt5lz --tail 50 --follow\nyields:\n\nI0124 16:43:33.591112       5 dns.go:264] New service: kibana-logging\nI0124 16:43:33.591225       5 dns.go:264] New service: nginx\nI0124 16:43:33.591251       5 dns.go:264] New service: registry\nI0124 16:43:33.591274       5 dns.go:264] New service: sudoe\nI0124 16:43:33.591295       5 dns.go:264] New service: default-http-backend\nI0124 16:43:33.591317       5 dns.go:264] New service: kube-dns\nI0124 16:43:33.591344       5 dns.go:462] Added SRV record &{Host:kube-dns.kube-system.svc.cluster.local. Port:53 Priority:10 Weight:10 Text: Mail:false Ttl:30 TargetStrip:0 Group: Key:}\nI0124 16:43:33.591369       5 dns.go:462] Added SRV record &{Host:kube-dns.kube-system.svc.cluster.local. Port:53 Priority:10 Weight:10 Text: Mail:false Ttl:30 TargetStrip:0 Group: Key:}\nI0124 16:43:33.591390       5 dns.go:264] New service: kubernetes\nI0124 16:43:33.591409       5 dns.go:462] Added SRV record &{Host:kubernetes.default.svc.cluster.local. Port:443 Priority:10 Weight:10 Text: Mail:false Ttl:30 TargetStrip:0 Group: Key:}\nI0124 16:43:33.591429       5 dns.go:264] New service: elasticsearch-logging\n\n\nUpdate 3:\n\nI'm still trying to get everything to work, but with the help of others, I am confident it is a RBAC issue.  I'm not completely sure, but it looks like the elasticsearch nodes were not able to connect with the master (which I never knew was even needed) due to permissions.\n\nHere are some steps that helped, in case it helps others starting out:\n\nwith RBAC on:\n\n# kubectl --kubeconfig kubeconfig.yaml --namespace kube-system logs po/elasticsearch-logging-v1-wkwcs\nF0119 00:18:44.285773       9 elasticsearch_logging_discovery.go:60] kube-system namespace doesn't exist: User \"system:serviceaccount:kube-system:default\" cannot get namespaces in the namespace \"kube-system\". (get namespaces kube-system)\ngoroutine 1 [running]:\nk8s.io/kubernetes/vendor/github.com/golang/glog.stacks(0x1f7f600, 0xc400000000, 0xee, 0x1b2)\n        vendor/github.com/golang/glog/glog.go:766 +0xa5\nk8s.io/kubernetes/vendor/github.com/golang/glog.(*loggingT).output(0x1f5f5c0, 0xc400000003, 0xc42006c300, 0x1ef20c8, 0x22, 0x3c, 0x0)\n        vendor/github.com/golang/glog/glog.go:717 +0x337\nk8s.io/kubernetes/vendor/github.com/golang/glog.(*loggingT).printf(0x1f5f5c0, 0xc400000003, 0x16949d6, 0x1e, 0xc420579ee8, 0x2, 0x2)\n        vendor/github.com/golang/glog/glog.go:655 +0x14c\nk8s.io/kubernetes/vendor/github.com/golang/glog.Fatalf(0x16949d6, 0x1e, 0xc420579ee8, 0x2, 0x2)\n        vendor/github.com/golang/glog/glog.go:1145 +0x67\nmain.main()\n        cluster/addons/fluentd-elasticsearch/es-image/elasticsearch_logging_discovery.go:60 +0xb53\n[2018-01-19 00:18:45,273][INFO ][node                     ] [elasticsearch-logging-v1-wkwcs] version[2.4.1], pid[5], build[c67dc32/2016-09-27T18:57:55Z]\n[2018-01-19 00:18:45,275][INFO ][node                     ] [elasticsearch-logging-v1-wkwcs] initializing ...\n\n\n\n\n# kubectl --kubeconfig kubeconfig.yaml --namespace kube-system exec kibana-logging-2104905774-69wgv curl elasticsearch-logging.kube-system:9200/_cat/indices?pretty\n\n{\n  \"error\" : {\n    \"root_cause\" : [ {\n      \"type\" : \"master_not_discovered_exception\",\n      \"reason\" : null\n    } ],\n    \"type\" : \"master_not_discovered_exception\",\n    \"reason\" : null\n  },\n  \"status\" : 503\n}\n\n\nWith RBAC off:\n\n#  kubectl --kubeconfig kubeconfig.yaml --namespace kube-system log elasticsearch-logging-v1-7shgk\n[2018-01-26 01:19:52,294][INFO ][node                     ] [elasticsearch-logging-v1-7shgk] version[2.4.1], pid[5], build[c67dc32/2016-09-27T18:57:55Z]\n[2018-01-26 01:19:52,294][INFO ][node                     ] [elasticsearch-logging-v1-7shgk] initializing ...\n[2018-01-26 01:19:53,077][INFO ][plugins                  ] [elasticsearch-logging-v1-7shgk] modules [reindex, lang-expression, lang-groovy], plugins [], sites []\n\n\n\n\n#  kubectl --kubeconfig kubeconfig.yaml --namespace kube-system exec elasticsearch-logging-v1-7shgk curl http://elasticsearch-logging:9200/_cat/indices?pretty\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100    40  100    40    0     0      2      0  0:00:20  0:00:15  0:00:05    10\ngreen open .kibana 1 1 1 0 6.2kb 3.1kb \n\n\nThanks everyone for your help :)","product":["kibana"],"versions":["7.12","5.5.2","6.1"],"lang":"en","answer_count":2,"view_count":16915,"accepted":true,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","01-dashboard-authoring","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-47171966","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47171966/any-open-source-alerting-and-reporting-plugin-for-elk-stack-is-available","posted_at":"2017-11-08T05:06:21.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"UtkarshaG","score":6,"kind":"question","title":"Any open source alerting and reporting plugin for ELK stack is available?","body":"I'm using Logstash, Elasticsearch and kibana 5.5.2 . I want an email alerting and reporting feature for ELK stack. Is there any open source tool for this features?","product":["kibana"],"versions":["5.5.2"],"lang":"en","answer_count":1,"view_count":14130,"accepted":false,"category":"07-alerting-and-watcher","secondary_categories":["06-sharing-and-export","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":["alerting"]}
{"id":"so-44542708","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44542708/whats-the-best-kibana-multi-tenancy-free-open-source-project","posted_at":"2017-06-14T10:52:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Muhammad Ezzat","score":6,"kind":"question","title":"What&#39;s the best Kibana multi tenancy free open source project?","body":"I'm trying to add a role based access control over Kibana to have different privileges and dashboards for different types of users and I found those projects:\n\n\nElastic Shield Plugin\nSearch Guard Kibana Multitenancy Module\nElasticsearch Read Only Rest Plugin \nKibana plugin Own Home\n\n\nWhat I found is that:\n\n\nElastic Shield (now called X-Pack) is the best, but unfortunately it's only 30 days free trial.\nsearch guard module is a little complicated and it does the job, but it's not for free for commercial use which isn't suitable for my case.\nReadonlyREST plugin allows you to define which user reads which data, and their Enterprise Kibana plugin (non-free) also allows you to assign kibana indices to groups or users.\nKibana Plugin Own Home is a workaround solution as it defines different kibana index for different user which isn't practical.\n\n\nIf you know any other projects or any workaround for the mentioned projects above that satisfies my requirements, I'd be so grateful.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":6075,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":["05-index-patterns-data-views","01-dashboard-authoring","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-40553101","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40553101/how-do-i-stop-kibana-in-windows","posted_at":"2016-11-11T17:20:43.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Brian Powell","score":6,"kind":"question","title":"How do I stop Kibana in Windows?","body":"I downloaded elasticsearch 5.0.0 along with Kibana.  I started both, but I cannot find any way to STOP Kibana from running - apart from restarting my server (which I do not want to do), localhost:5601 keeps coming up with Kibana.\n\nI cannot find any documentation online for how to stop this process.","product":["kibana"],"versions":["5.0.0"],"lang":"en","answer_count":2,"view_count":4004,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-66209493","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66209493/kibana-index-pattern-not-saved","posted_at":"2021-02-15T14:04:45.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Anoop","score":6,"kind":"question","title":"Kibana index pattern not saved","body":"I have an ELK stack running on the Kubernetes cluster with security enabled. Everything is running fine and I am able to push data to an index. After logging in to Kibana as an admin user, and I to \"Discover\" it asks me to create an index pattern. So I have some metricbeat data, and I create a pattern and saved it. But when I go back to discover, it is prompting me to create an index pattern again!\nI don't find any errors in Kibana/Elastic pods\nReally appreciate any pointers\nElastisearch version: 7.10.1","product":["kibana"],"versions":["7.10.1"],"lang":"en","answer_count":1,"view_count":3581,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-53116402","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53116402/fluentbit-kubernetes-how-to-extract-fields-from-existing-logs","posted_at":"2018-11-02T10:02:32.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"karthikeayan","score":6,"kind":"question","title":"Fluentbit Kubernetes - How to extract fields from existing logs","body":"I have configured EFK stack with Fluent-bit on my Kubernetes cluster. I can see the logs in Kibana.\n\nI also have deployed nginx pod, I can see the logs of this nginx pod also in Kibana. But all the log data are sent to a single field \"log\" as shown below.\n\n\n\nHow can I extract each field into a separate field. There is a solution for fluentd already in this question. Kibana - How to extract fields from existing Kubernetes logs\n\nBut how can I achieve the same with fluent-bit?\n\nI have tried the below by adding one more FILTER section under the default FILTER section for Kubernetes, but it didn't work.\n\n\n[FILTER]\n    Name                parser\n    Match               kube.*\n    Key_name            log\n    Parser              nginx\n\n\n\nFrom this (https://github.com/fluent/fluent-bit/issues/723), I can see there is no grok support for fluent-bit.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":13685,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-53067005","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53067005/kibana-with-nginx-ingress-controller-in-kubernetes","posted_at":"2018-10-30T14:49:50.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"duffn","score":6,"kind":"question","title":"Kibana with nginx ingress controller in Kubernetes","body":"I am trying to get Kibana 6.2.4 in my GKE Kubernetes cluster running under www.mydomain.com/kibana without success. Though, I can run it perfectly fine with kubectl proxy and the default SERVER_BASEPATH.\n\nHere is my Kibana deployment with the SERVER_BASEPATH removed.\n\n---\n\napiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: kibana-logging\n  namespace: logging\n  labels:\n    k8s-app: kibana-logging\n    kubernetes.io/cluster-service: \"true\"\n    addonmanager.kubernetes.io/mode: Reconcile\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      k8s-app: kibana-logging\n  template:\n    metadata:\n      labels:\n        k8s-app: kibana-logging\n      annotations:\n        seccomp.security.alpha.kubernetes.io/pod: 'docker/default'\n    spec:\n      containers:\n      - name: kibana-logging\n        image: docker.elastic.co/kibana/kibana-oss:6.2.4\n        resources:\n          # need more cpu upon initialization, therefore burstable class\n          limits:\n            cpu: 1000m\n          requests:\n            cpu: 100m\n        env:\n          - name: ELASTICSEARCH_URL\n            value: http://elasticsearch-logging:9200\n          # - name: SERVER_BASEPATH\n          #   value: /api/v1/namespaces/logging/services/kibana-logging/proxy\n        ports:\n        - containerPort: 5601\n          name: ui\n          protocol: TCP\n\n\nMy nginx ingress definition (nginx-ingress-controller:0.19.0):\n\n---\n\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n  name: logging-ingress\n  namespace: logging\n  annotations:\n    kubernetes.io/ingress.class: nginx\n    nginx.ingress.kubernetes.io/configuration-snippet: |\n      rewrite ^/kibana/(.*)$ /$1 break;\nspec:\n  tls:\n    - hosts:\n      - dev.mydomain.net\n      secretName: mydomain-net-tls-secret\n  rules:\n  - host: dev.mydomain.net\n    http:\n      paths:\n      - path: /kibana\n        backend:\n          serviceName: kibana-logging\n          servicePort: 5601\n\n\nThis results in this nginx location\n\n    location /kibana {\n\n        set $namespace      \"logging\";\n        set $ingress_name   \"logging-ingress\";\n        set $service_name   \"kibana-logging\";\n        set $service_port   \"5601\";\n        set $location_path  \"/kibana\";\n\n        rewrite_by_lua_block {\n\n            balancer.rewrite()\n\n        }\n\n        log_by_lua_block {\n\n            balancer.log()\n\n            monitor.call()\n        }\n\n        port_in_redirect off;\n\n        set $proxy_upstream_name \"logging-kibana-logging-5601\";\n\n        # enforce ssl on server side\n        if ($redirect_to_https) {\n\n            return 308 https://$best_http_host$request_uri;\n\n        }\n\n        client_max_body_size                    \"1m\";\n\n        proxy_set_header Host                   $best_http_host;\n\n        # Pass the extracted client certificate to the backend\n\n        # Allow websocket connections\n        proxy_set_header                        Upgrade           $http_upgrade;\n\n        proxy_set_header                        Connection        $connection_upgrade;\n\n        proxy_set_header X-Request-ID           $req_id;\n        proxy_set_header X-Real-IP              $the_real_ip;\n\n        proxy_set_header X-Forwarded-For        $the_real_ip;\n\n        proxy_set_header X-Forwarded-Host       $best_http_host;\n        proxy_set_header X-Forwarded-Port       $pass_port;\n        proxy_set_header X-Forwarded-Proto      $pass_access_scheme;\n\n        proxy_set_header X-Original-URI         $request_uri;\n\n        proxy_set_header X-Scheme               $pass_access_scheme;\n\n        # Pass the original X-Forwarded-For\n        proxy_set_header X-Original-Forwarded-For $http_x_forwarded_for;\n\n        # mitigate HTTPoxy Vulnerability\n        # https://www.nginx.com/blog/mitigating-the-httpoxy-vulnerability-with-nginx/\n        proxy_set_header Proxy                  \"\";\n\n        # Custom headers to proxied server\n\n        proxy_connect_timeout                   5s;\n        proxy_send_timeout                      60s;\n        proxy_read_timeout                      60s;\n\n        proxy_buffering                         \"off\";\n        proxy_buffer_size                       \"4k\";\n        proxy_buffers                           4 \"4k\";\n        proxy_request_buffering                 \"on\";\n\n        proxy_http_version                      1.1;\n\n        proxy_cookie_domain                     off;\n        proxy_cookie_path                       off;\n\n        # In case of errors try the next upstream server before returning an error\n        proxy_next_upstream                     error timeout;\n        proxy_next_upstream_tries               3;\n\n        rewrite ^/kibana/(.*)$ /$1 break;\n\n        proxy_pass http://upstream_balancer;\n\n        proxy_redirect                          off;\n\n    }\n\n\nHowever, going to /kibana results in a 404.\n\nStackdriver\n\n2018-10-30 08:30:48.000 MDT\nGET /kibana 404 61ms - 9.0B\n\n\nWeb page\n\n{\n  statusCode: 404,\n  error: \"Not Found\",\n  message: \"Not Found\"\n}\n\n\nI feel as though I am missing some sort of setting with either SERVER_BASEPATH and/or my nginx ingress configuration.","product":["kibana"],"versions":["6.2.4","19.0"],"lang":"en","answer_count":1,"view_count":6105,"accepted":true,"category":"04-performance-and-load","secondary_categories":["09-upgrades-and-migration","10-docs-and-ux","08-spaces-and-rbac"],"sentiment":"neutral","tags":[]}
{"id":"so-34024224","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34024224/kibana-for-mysql","posted_at":"2015-12-01T15:40:25.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Michael","score":6,"kind":"question","title":"Kibana for MySql","body":"We are very satisfied with Kibana over ElasticSearch.\n\nSince we do more of statistical analysis, we were thinking that MySql might be a better choice for us.\n\nIs there a Kibana alternative to work with MySql?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11237,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-28853543","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28853543/kibana-4-color-scheme","posted_at":"2015-03-04T11:41:59.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"jbphelps","score":6,"kind":"question","title":"Kibana 4 Color Scheme","body":"I tend towards darker color schemes when building GUIs, and some of the nicer screenshots that I've seen of Kibana support this. Now that we are kicking the tires on Kibana 4, the vizualizations and dashboards seem to be light background only. Is there a button staring me in the face that I'm missing, or is the color picking not (yet) available in version 4?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7686,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-59778587","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59778587/serilog-elasticsearch-logs-not-making-it-to-the-server-but-buffering-correctly","posted_at":"2020-01-16T22:12:42.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Hershizer33","score":6,"kind":"question","title":"Serilog Elasticsearch logs not making it to the server (but buffering correctly)","body":"I have an ELK stack locally hosted (v7.0) on a Windows IIS web server and the logs are not making it to the server.  Server is running, I can reach the reserved URL and get back the generic json package saying Elasticsearch is running and I can log into Kibana just fine, there's just no logs to see.\n\nI have a bufferBaseFilename set in the apps that are logging, and when I go to that location the logs are actually there, properly indexed and all.  I'm wondering why it never gets synced back to the server?  It seems like a connection issue, but all the network stuff checks out.  I'm probably missing something simple.  Any thoughts?  Let me know if you need more information!","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4630,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-49346591","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49346591/create-a-kibana-url-from-elasticsearch-query","posted_at":"2018-03-18T09:59:03.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"deez","score":6,"kind":"question","title":"Create a Kibana URL from elasticsearch query","body":"I want to generate an automatic kibana URL according to changing hostnames for the last 15 minutes. This is the elasticsearch query i'm using:\n\n{'query': {'bool': {'minimum_should_match': 1, 'should': [{'match': {'beat.hostname.raw': 'xxxxxxx'}}, {'match': {'beat.hostname.raw': 'yyyyyyy'}}], 'must': [{'range': {'@timestamp': {'gte': 'now-15m'}}}]}}}\n\n\nHow can I create a parseable URL for kibana for this search?\n\nThanks,","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3263,"accepted":true,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-38847004","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38847004/visualizing-a-single-string-of-text-in-kibana","posted_at":"2016-08-09T09:31:39.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Forcent Vintier","score":6,"kind":"question","title":"Visualizing a single string of text in Kibana","body":"In Kibana, I have an index that looks like as follows\n\n\ntype (String)\nvalue (String)\ntimestamp (Date)\n\n\nI would like to have a visualization that shows the most recent value field where the type is equal to \"battery\", for example.\n\nI would like the visualization to be similar to the \"Metric\" one, but displaying a string of text instead of a number, of course.\n\nIs this possible with Kibana? If not, how can I get a similar result?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8710,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-46735805","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46735805/connect-kibana-to-elasticsearch-in-kubernetes-cluster","posted_at":"2017-10-13T18:14:49.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"appdap1","score":6,"kind":"question","title":"Connect kibana to elasticsearch in kubernetes cluster","body":"I have a running elasticsearch cluster and I am trying to connect kibana to this cluster (same node). Currently the page hangs when I try to open the service in my browser using :. . In my kibana pod logs, the last few log messages in the pod are:\n\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T17:23:46Z\",\"tags\":[\"listening\",\"info\"],\"pid\":1,\"message\":\"Server running at http://0.0.0.0:5601\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T17:23:46Z\",\"tags\":[\"status\",\"ui settings\",\"error\"],\"pid\":1,\"state\":\"red\",\"message\":\"Status changed from uninitialized to red - Elasticsearch plugin is red\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T17:23:49Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":1,\"state\":\"red\",\"message\":\"Status changed from yellow to red - Request Timeout after 3000ms\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}\n\n\nMy kibana.yml file that is mounted into the kibana pod has the following config:\n\nserver.name: kibana-logging\nserver.host: 0.0.0.0 \nelasticsearch.url: http://elasticsearch:9300\nxpack.security.enabled: false\nxpack.monitoring.ui.container.elasticsearch.enabled: true \n\n\nand my elasticsearch.yml file has the following config settings (I have 3 es pods)\n\ncluster.name: elasticsearch-logs\nnode.name: ${HOSTNAME}\nnetwork.host: 0.0.0.0\n\nbootstrap.memory_lock: false\nxpack.security.enabled: false\ndiscovery.zen.minimum_master_nodes: 2\ndiscovery.zen.ping.unicast.hosts: [\"172.17.0.3:9300\", \"172.17.0.4:9300\", \"172.17.0.4:9300\"]\n\n\nI feel like the issue is currently with the network.host field but I'm not sure. What fields am I missing/do I need to modify in order to connect to a kibana pod to elasticsearch if they are in the same cluster/node? Thanks!\n\nES Service:\n\napiVersion: v1\nkind: Service\nmetadata:\n  name: elasticsearch\n  labels:\n    component: elasticsearch\n    role: master\nspec:\n  type: NodePort\n  selector:\n    component: elasticsearch\n    role: master\n  ports:\n  - name: http\n    port: 9200\n    targetPort: 9200\n    nodePort: 30303\n    protocol: TCP\n\n\nKibana Svc\n\napiVersion: v1\nkind: Service\nmetadata:\n  name: kibana\n  namespace: default\n  labels:\n    component: kibana\nspec:\n  type: NodePort\n  selector:\n    component: kibana\n  ports:\n  - port: 80\n    targetPort: 5601\n    protocol: TCP\n\n\nEDIT:\nAfter changing port to 9200 in kibana.yml here is what i see in the logs at the end when I try and access kibana:\n\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:36:30Z\",\"tags\":[\"listening\",\"info\"],\"pid\":1,\"message\":\"Server running at http://0.0.0.0:5601\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:36:30Z\",\"tags\":[\"status\",\"ui settings\",\"error\"],\"pid\":1,\"state\":\"red\",\"message\":\"Status changed from uninitialized to red - Elasticsearch plugin is red\",\"prevState\":\"uninitialized\",\"prevMsg\":\"uninitialized\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:36:33Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":1,\"state\":\"red\",\"message\":\"Status changed from yellow to red - Request Timeout after 3000ms\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:02Z\",\"tags\":[\"error\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Request error, retrying\\nPOST http://elasticsearch:9200/.reporting-*/esqueue/_search?version=true => getaddrinfo ENOTFOUND elasticsearch elasticsearch:9200\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:32Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:33Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:37Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:38Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n{\"type\":\"log\",\"@timestamp\":\"2017-10-13T21:37:42Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}","product":["kibana"],"versions":["5.6.3","17.0.3","17.0.4"],"lang":"en","answer_count":1,"view_count":4015,"accepted":true,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","06-sharing-and-export","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-44069040","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44069040/kibana-closes-http-connection-after-120-seconds","posted_at":"2017-05-19T11:36:34.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Bombe","score":6,"kind":"question","title":"Kibana closes HTTP connection after 120 seconds","body":"So, I have this problem with Kibana that I don’t know how to solve. I’ll start by describing the environment:\n\n\n12 Elasticsearch (version 2.1.2) nodes. Those are various AWS machines with Linux/CentOS installed, using r3/r4/i3 instance types, spread over three AZs. Each machine does have:\n\n\n800 GiB storage (EBS and SSD)\n30 GiB RAM\nKibana (version 4.3.3)\nelasticsearch.requestTimeout and elasticsearch.shardTimeout are set to 1500000, i.e. 1500s, i.e. 25 minutes.\n\nWe create 26 indices per day, keep them for 12 days, most of them have 12 shards and 1 replica.\nAn AWS ELB that distributes requests (non-sticky) to all 12 nodes.\n\n\nThe idle timeout for the ELB is at 900s, i.e. 15 minutes.\n\n\n\nNow, when running more complicated queries Kibana, when accessed over the ELB, shows a “gateway timeout” error message after between two and three minutes. The Network console in Chrome reveals that two requests are being fired, the first to determine the indices for the requested timespan, the second for the result data. The first request takes from 20 to 50 seconds and succeeds, the second request is always finished with a 504 (gateway timeout) after exactly two minutes.\n\nWhen running the query generated by Kibana directly against one of the Elasticsearch nodes, the query takes about 7 minutes and completes successfully.\n\nWhen running the query without the ELB directly against one of the Kibana instances (using curl) it also fails after pretty much exactly two minutes. Using Wireshark, I can see that Kibana simply closes the HTTP connection after 120 seconds.\n\nWhere does that timeout come from? How do I get rid of it?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":974,"accepted":true,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","13-observability-apm","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-69928381","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/69928381/aws-opensearch-give-user-read-only-access-dashboard","posted_at":"2021-11-11T12:32:29.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"ashlay keternut","score":6,"kind":"question","title":"AWS OpenSearch give user read only access dashboard","body":"I am using aws OpenSearch to view real-time data analysis.\nI am using Following roles to give my user read-only access to dashboard as mentioned here\n\nkibana_user\nkibana_read_only\nread_only_index\n\nBut still the user can edit dashboard because of some permissions in \"kibana_user\" role. so i tried to make a duplicate role using OpenSearch build-in functionality and removed manage and delete permission from duplicated role and assign this role to my user. But this time the user is unable to view dashboard and dashboards list even if I don't removes manage and delete permission, I am getting the following error in browser\nno permissions for [indices:data/read/search] and User [name=test-user-1, backend_roles=[], requestedTenant=]: security_exception\nI tried giving \"indices:data/read/search\" this permission to role and many more but it didn't work. any solutions","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":8876,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-35873372","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35873372/kibana-without-elastic-search","posted_at":"2016-03-08T16:58:21.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"namrata Tiwari","score":6,"kind":"question","title":"Kibana without Elastic search","body":"As we know Elasticsearch stores, search and analyses data and then shows it on Kibana. But I have my data already stored in PostgreSQL and we have to deal with huge data, so storing it in Elasticsearch for seeing a graph on Kibana is not good. There will be duplication like we have same data in Postgres as well as in Elasticsearch and I have huge data (full traffic from a telecom company) and we want to build a reporting tool.\n\nKibana has all the features that we want but we don't want this duplication of data. I mean we want to use only Kibana. Is it possible? And what should I do to avoid this problem? What are the possibilities?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11950,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-62282986","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62282986/can-t-able-to-access-kibana-dashboard","posted_at":"2020-06-09T12:47:44.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Brisi","score":6,"kind":"question","title":"Can’t able to access kibana dashboard","body":"I am able to connect elasticsearch. However, I am unable to access kibana on 5601. Can anyone please help out this to work? Thanks in advance.\n\nIn the kibana.yml file, I have modified the server.host parameter to point to my domain.\n\n\nElasticsearch Version: 7.7.0 \nKibana Version: kibana-7.7.0-1.x86_64\nOS: Centos 7 \nJAVA Version: 11\n\n\nkibana.yml\n\nserver.port: 5601\nserver.host: \"my_domain\"\nelasticsearch.hosts: [\"http://my_domain:9200\"]\n\n\nKibana Logs\n\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:03Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2844,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: apm_oss\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:03Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2844,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: file_upload\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:03Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2844,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: triggers_actions_ui\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:09Z\",\"tags\":[\"info\",\"plugins-service\"],\"pid\":2844,\"message\":\"Plugin \\\"infra\\\" has been disabled since some of its direct or transitive dependencies are missing or disabled.\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:27Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2941,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: apm_oss\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:27Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2941,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: file_upload\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:27Z\",\"tags\":[\"warning\",\"plugins-discovery\"],\"pid\":2941,\"message\":\"Expect plugin \\\"id\\\" in camelCase, but found: triggers_actions_ui\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:32Z\",\"tags\":[\"info\",\"plugins-service\"],\"pid\":2941,\"message\":\"Plugin \\\"infra\\\" has been disabled since some of its direct or transitive dependencies are missing or disabled.\"}\n{\"type\":\"log\",\"@timestamp\":\"2020-06-02T14:08:35Z\",\"tags\":[\"fatal\",\"root\"],\"pid\":2941,\"message\":\"{ Error: listen EADDRNOTAVAIL: address not available localhost:5601\\n    at Server.setupListenHandle [as _listen2] (net.js:1263:19)\\n    at listenInCluster (net.js:1328:12)\\n    at doListen (net.js:1461:7)\\n    at process._tickCallback (internal/process/next_tick.js:63:19)\\n  code: 'EADDRNOTAVAIL',\\n  errno: 'EADDRNOTAVAIL',\\n  syscall: 'listen',\\n  address: 'localhost',\\n  port: 5601 }\"}","product":["kibana"],"versions":["7.7.0"],"lang":"en","answer_count":1,"view_count":2253,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","13-observability-apm","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-44412459","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44412459/kibana-timelion-how-to-add-vertical-line","posted_at":"2017-06-07T12:20:18.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"pbaranski","score":6,"kind":"question","title":"Kibana timelion: How to add vertical line","body":"I have a chart displayed in Kibana timelion and I want to add vertical line\n\nFor horizontal lines it can be used .value(200) or .static(200) - is there any possibility to add vertical one?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2523,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-62786935","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62786935/elasticsearch-nested-buckets-aggregation","posted_at":"2020-07-08T03:07:25.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"CamiloSalomon","score":6,"kind":"question","title":"ElasticSearch: Nested buckets aggregation","body":"I'm new to ElasticSearch, so this question could be quite trivial for you, but here I go:\nI'm using kibana_sample_data_ecommerce, which documents have a mapping like this\n{\n    ...\n    \"order_date\" : <datetime>\n    \"taxful_total_price\" : <double>\n    ...\n}\n\nI want to get a basic daily behavior of the data:\n\nExpecting documents like this:\n[\n  {\n    \"qtime\" : \"00:00\",\n    \"mean\" : 20,\n    \"std\" : 40\n  },\n  {\n    \"qtime\" : \"01:00\",\n    \"mean\" : 150,\n    \"std\" : 64\n  }, \n  ...\n]\n\nSo, the process I think that I need to do is:\nGroup by day all records -> \n  Group by time window for each day -> \n    Sum all record in each time window -> \n      Cumulative Sum for each sum by time window, thus, I get behavior of a day ->\n        Extended_stats by the same time window across all days\n\nAnd that can be expressed like this:\n\nBut I can't unwrap those buckets to process those statistics. May you give me some advice to do that operation and get that result?\nHere is my current query(kibana developer tools):\nPOST kibana_sample_data_ecommerce/_search\n{\n  \"size\": 0,\n  \"query\": {\n    \"bool\": {\n      \"must\": [\n        {\n          \"range\": {\n            \"order_date\": {\n              \"gt\": \"now-1M\",\n              \"lte\": \"now\"\n            }\n          }\n        }\n      ]\n    }\n  },\n  \"aggs\": {\n    \"day_histo\": {\n      \"date_histogram\": {\n        \"field\": \"order_date\",\n        \"calendar_interval\": \"day\"\n      },\n      \"aggs\": {\n        \"qmin_histo\": {\n          \"date_histogram\": {\n            \"field\": \"order_date\",\n            \"calendar_interval\": \"hour\"\n          },\n          \"aggs\": {\n            \"qminute_sum\": {\n              \"sum\": {\n                \"field\": \"taxful_total_price\"\n              }\n            },\n            \"cumulative_qminute_sum\": {\n              \"cumulative_sum\": {\n                \"buckets_path\": \"qminute_sum\"\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1045,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-56123606","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56123606/how-to-calculate-retention-rate-in-elasticsearch-kibana","posted_at":"2019-05-14T05:34:02.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"AbhiArora","score":6,"kind":"question","title":"How to calculate retention rate in elasticsearch/kibana?","body":"The task is to calculate user retention in elastic search. I have documents which contain user id and inside that an array where each element shows some interaction with the system. Each element in the array has a time field.\n\nIs there a way (a query which I can fit in a vega chart or using timelion in kibana, or may be some other alternative) in which I can calculate total unique visitors for lets say 15 days ago and then see the same set of users for each upcoming day?\n\nSo that the data shows I had 300 users who visited 15 days ago, then out of those 300, 150 again visited the next day, 120 again visited the next day, and so on.\n\n{\n\"userid\":\"asdkas213ksashd\",\n\"interaction\":[\n {\n  \"type\":1,\n  \"timestamp\":\"the date\"\n },\n {\n  \"type\":2,\n  \"timestamp\":\"the date\"\n }]\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":662,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-44381575","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44381575/move-console-logs-to-kibana-in-angular-2","posted_at":"2017-06-06T04:46:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"loknath","score":6,"kind":"question","title":"Move console logs to kibana in angular 2","body":"I have a requirement in angular 2 like, i want move all console logs to a server like Logstash and want to view those logs in Kibana.  Created my own logging service as follows.\n\nimport { Injectable } from '@angular/core';\n\n@Injectable()\nexport class LoggerService {\n    enabled = true;\n    noop = () => {};\n\n    constructor() {\n                // You can do a check on your environment or some other flag to \n                // enable/disable logging\n        // if ((<any>'<%= ENV %>') === 'prod') this.enabled = false;\n    }\n\n    get debug() {\n        if (this.enabled) return console.debug.bind(console);\n        return this.noop;\n    }\n\n    get error() {\n        if (this.enabled) return console.error.bind(console);\n        return this.noop;\n    }\n\n    get log() {\n        if (this.enabled) return console.log.bind(console);\n        return this.noop;\n    }\n\n    get info() {\n        if (this.enabled) return console.info.bind(console);\n        return this.noop;\n    }\n\n    get warn() {\n        if (this.enabled) return console.warn.bind(console);\n        return this.noop;\n    }\n\n}\n\n\nso i can use the service in some other components like as follows.\n\nconstructor(private loggerService LoggerService){\n\n this.loggerService.log(\"some error\");\n\n\n}\n\nBut the above line prints logs in console. i want move those logs to server, so that we can see when ever we want. I google a lot for this requirement, but didn't get any stuff in angular2. But found a blog where it implemented in angular 1.x.   \n\nhttps://blog.donkeycode.com/superpower-angular-logging-with-elasticsearch-logstash-and-kibana-part-1-cfb612da4b87\n\nCould some one please help me here. Thanks in advance.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1923,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-38182682","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38182682/kibana-4-setting-up-passportjs-ldap-authentication","posted_at":"2016-07-04T10:39:03.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Deepak Banka","score":6,"kind":"question","title":"Kibana 4 setting up passportjs Ldap Authentication","body":"How can I setup Ldap authentication for Kibana using  passportJs? I know there's a way to do it using Shield but that is very costly, so I was thinking of doing it using passportJs.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":145,"accepted":false,"category":"08-spaces-and-rbac","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-37254359","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37254359/kibana-graph-with-delta-between-two-field-of-two-different-document","posted_at":"2016-05-16T12:51:58.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"C Barbaza","score":6,"kind":"question","title":"Kibana - graph with delta between two field of two different document","body":"I use the ELK stack to monitoring many Java services and more precisly I use the logstash input JMX for getting data into Elasticsearch.\n\nIn one of them, I get the number of message received by my service since the start of the service. So it's an incremental value and I would like to create a graph with the number of messages received / seconds.\n\nIn input data I have this kind of data: \n\n  {\n      \"metric_value_number\": 1633157,\n      \"hostname\": \"server1\",\n      \"metricsName\": \"ExchangesCompleted\"\n  },\n  {\n      \"metric_value_number\": 1633811,\n      \"hostname\": \"server1\",\n      \"metricsName\": \"ExchangesCompleted\"\n  },\n  {\n      \"metric_value_number\": 1634512,\n      \"hostname\": \"server1\",\n      \"metricsName\": \"ExchangesCompleted\"\n  }\n\n\nI would like for each document, calculate the delta between his value and the value of the document before him.\n\nIn my exemple I want to do : \n\n    1633157 - 0 = 1633157\n    1633811 - 1633157 = 654\n    1634512 - 1633811 = 701\n\n\nAnd graph the result of this operation.\n\nI can not find a way to do that. Most of the time people use scripted field in kibana but always do an operation between fields of the SAME document and I want to do this with different document.\n\nIt's the same behavior of this post : Kibana time delta between two fields but my data are in different field\n\nSome one already did this kind of things ? \n\nBest regards,\nClément.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1255,"accepted":false,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-36651197","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36651197/kibana-visualizing-simple-log-as-table","posted_at":"2016-04-15T15:27:47.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Stefan K.","score":6,"kind":"question","title":"Kibana: visualizing simple log as table","body":"I'd like to visualize logged events like an aggregated log file: as a table. \n\nMy testdata was created by an sample Java application using the net.logstash.logback.appender.LogstashSocketAppender (an Logback JSON appender) and an http_poller, polling a Spring actuator. \n\nAs my first step, I'd like to visualize just the logback messages ordered by time. I went to discover and added message, but sadly the result looks like this:\n\n\nAs you can see, the first line, which actually contains a message, displays{\"@timestamp\":\"2016-04-15T15:28:00.104+02:00\",\"@version\":1,\"message\":\"accounts-service byOwner() found: []\",\"logger_name\":\"io.pivotal.microservices.accounts.AccountsController\",\"thread_name\":\"main\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"ham00705\"}\n\nHow can I just display the content of message, in this case \"accounts-service byOwner() found: []\",\"logger_name\":\"io.pivotal.microservices.accounts.AccountsController\"?\n\nand How do I hide events without a message?\n\n-- Update --\n\na sample message looks like:\n\n{\n  \"_index\": \"logstash-2016.04.15\",\n  \"_type\": \"logs\",\n  \"_id\": \"AVQaK4Ng7SD5aGZ_l8Xy\",\n  \"_score\": null,\n  \"_source\": {\n    \"message\": \"{\\\"@timestamp\\\":\\\"2016-04-15T15:28:00.104+02:00\\\",\\\"@version\\\":1,\\\"message\\\":\\\"accounts-service byOwner() found: []\\\",\\\"logger_name\\\":\\\"io.pivotal.microservices.accounts.AccountsController\\\",\\\"thread_name\\\":\\\"main\\\",\\\"level\\\":\\\"INFO\\\",\\\"level_value\\\":20000,\\\"HOSTNAME\\\":\\\"ham00705\\\"}\\r\",\n    \"@version\": \"1\",\n    \"@timestamp\": \"2016-04-15T13:45:37.085Z\",\n    \"path\": \"D:\\\\Coden\\\\Projects\\\\Git\\\\microservice-logging\\\\logstash2\\\\test-data\\\\app-min.log.json\",\n    \"host\": \"ham00705\"\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1460727937085\n    ]\n  },\n  \"sort\": [\n    1460727937085\n  ]\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":401,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-28645977","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28645977/elastic-search-calculate-duration-session-length-from-timestamps-first-seen","posted_at":"2015-02-21T12:49:28.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"woltob","score":6,"kind":"question","title":"Elastic search: calculate duration / session length from timestamps (first seen and last seen)","body":"I could't find anything using Google.\nTherefore I hope you could help me here:\n\nImagine the following data:\n\n{ timestamp: 123, id: abcd }, \n{ timestamp: 234, id: abcd }, \n{ timestamp: 543, id: abcd }\n{ timestamp: 673, id: abcd }\n\n\nI want to calculate the session length from this data in elastic search / kibana.\nA session is continuous, if the timestamp interval between two ordered entries is e.g. smaller than 200. According to the above data, two sessions should be created:\n\n1: 234-123 = 111 < 200 | session 1, duration 111\n2: 543-234 = 311 > 200 | session 2, duration ...\n3: 673-543 = 130 < 200 | session 2, duration 130\n\n\nHow can I achieve that in elastic search?\n\nThanks in advance.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1116,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-41512184","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/41512184/switch-time-field-for-index-pattern-in-kibana-without-loosing-scripted-fields-or","posted_at":"2017-01-06T18:40:46.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Oleksiy","score":5,"kind":"question","title":"Switch time field for index pattern in kibana without loosing scripted fields or field formatting","body":"When a time-based index is added to kibana, you have to pick the field that will act as a time field. If you want to switch from one field to another, normally I would delete the index and re-add it back. But you end up loosing scripted fields and filed formatting this way.\n\nIs there any way to modify the existing index time field without loosing scripted fields/formatting? \n\nIt can probably be done by messing around directly with /.kibana/index-pattern/index_pattern_name but all my attempts with changing timeFieldName directly ended up dropping scripted fields.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":9912,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-23242788","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23242788/changing-elasticsearch-indexs-shard-count-on-the-next-index-rotation","posted_at":"2014-04-23T11:22:15.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"erbdex","score":5,"kind":"question","title":"Changing elasticsearch index&#39;s shard-count on the next index-rotation","body":"I have an ELK (Elasticsearch-Kibana) stack wherein the elasticsearch node has the default shard value of 5. Logs are pushed to it in logstash format (logstash-YYYY.MM.DD), which - correct me if I am wrong - are indexed date-wise.\nSince I cannot change the shard count of an existing index without reindexing, I want to increase the number of shards to 8 when the next index is created. I figured that the ES-API allows on-the-fly persistent changes.\nHow do I go about doing this?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":6965,"accepted":true,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-65113934","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/65113934/how-to-get-password-for-kibana-eck-apm-operator-in-kubernetes","posted_at":"2020-12-02T18:23:57.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"paltaa","score":5,"kind":"question","title":"How to get password for Kibana (ECK) APM operator in kubernetes?","body":"ive followed this guide https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-eck.html, then apply this manifest:\n---\napiVersion: elasticsearch.k8s.elastic.co/v1\nkind: Elasticsearch\nmetadata:\n  name: elasticsearch\nspec:\n  version: 7.5.1\n  nodeSets:\n  - name: default\n    count: 3\n    config:\n      node.master: true\n      node.data: true\n      node.ingest: true\n      node.store.allow_mmap: false\n---\napiVersion: kibana.k8s.elastic.co/v1\nkind: Kibana\nmetadata:\n  name: kibana\nspec:\n  version: 7.5.1\n  count: 1\n  elasticsearchRef:\n    name: elasticsearch\n---\napiVersion: apm.k8s.elastic.co/v1\nkind: ApmServer\nmetadata:\n  name: apm-server\nspec:\n  version: 7.5.1\n  count: 1\n  elasticsearchRef:\n    name: \"elasticsearch\"\n  config:\n    apm-server:\n      rum.enabled: true\n      ilm.enabled: true\n      rum.event_rate.limit: 300\n      rum.event_rate.lru_size: 1000\n      rum.allow_origins: ['']\n      rum.library_pattern: \"node_modules|bower_components|~\"\n      rum.exclude_from_grouping: \"^/webpack\"\n      rum.source_mapping.enabled: true\n      rum.source_mapping.cache.expiration: 5m\n      rum.source_mapping.index_pattern: \"apm--sourcemap*\"\n  http:\n    service:\n      spec:\n        type: LoadBalancer\n    tls:\n      selfSignedCertificate:\n        disabled: true\n\nThen with port-forward kubectl port-forward pod/kibana-kb-5bb5bf69c9-5m5r5 5601 im trying to login to kibana but i cannot find any password for elastic search or kibana and look if the APM is working correctly... So, how do i get the password to access it? which secret is it ?","product":["kibana"],"versions":["7.5.1"],"lang":"en","answer_count":1,"view_count":15115,"accepted":true,"category":"13-observability-apm","secondary_categories":["05-index-patterns-data-views","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":["apm"]}
{"id":"so-37963758","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37963758/how-do-i-set-a-default-header-for-all-xmlhttprequests","posted_at":"2016-06-22T09:22:12.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"Danny Lieberman","score":5,"kind":"question","title":"How do I set a default Header for all XMLHTTPRequests","body":"Problem description\n\nWe are running a Kibana 4.3 service. I do not want to modify the source code.\n\nThe objective is add an encrypted token, call it A-Token to every Ajax request that the browser makes to Kibana.\n\nBackground\n\nThe Kibana service is proxied by nginx.\n\nWhen a user makes an Ajax request to the Kibana service, the request is intercepted by an nginx http_auth_request proxy and passed to an \"auth\" service that validates the token. If its missing or invalid, then \"auth\" returns 201 to http_auth_request and the request to the Kibana service is executed, else it returns a 404 and the request is denied since it was made without a valid token.   \n\n(this scheme is based on the encrypted token pattern often used as a countermeasure for cross-site scripting in session-less situations like the one at hand).\n\nI read the W3 XMLHttpRequest documentation and it seems that setRequestHeader needs to run after open and before send - which implies that this scheme is either impossible in a general case or very JS platform dependent.\n\nA test using the Jquery .ajaxSetup  like this example, confirms that headers cannot be set independently:\n\n$.ajaxSetup({\n    beforeSend: function(xhr) {\n                xhr.setRequestHeader(A-Token\", 1314159);\n                  }\n});\n\n\nLooking for possible solutions which will not require forking Kibana. \n\nDanny","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7895,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["02-discover-and-kql","12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-64810048","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64810048/403-error-when-indexing-data-from-aws-lambda-to-elasticsearch-using-sig-v4-no","posted_at":"2020-11-12T18:54:38.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"abk","score":5,"kind":"question","title":"403 Error when indexing data from AWS Lambda to Elasticsearch using Sig v4: &#39;no permissions for [indices:data/write/bulk] &#39;","body":"My function can index documents in single and bulk to my AWS Elasticsearch from a local Jupyter notebook, but when I deploy to Lambda it keeps returning this error:\n\"errorMessage\": \"AuthorizationException(403, 'security_exception', 'no permissions for\n[indices:data/write/bulk] and User [name=arn:aws:iam::xxxxxxxxxxxx:role/MyLambdaRole,\nbackend_roles=[arn:aws:iam::xxxxxxxxxxxx:role/MyLambdaRole], requestedTenant=null]')\"\n\nMy Elasticsearch domain (v7.7) is configured as such:\nFine-grained access control: Enabled\nMaster user type: Internal user database\nSAML authentication: Disabled\nAmazon Cognito for authentication: Disabled\nRequire HTTPS: Enabled\nEncryption at rest: Enabled\nKMS master keyarn:aws:kms:us-east-1:xxxxxxxxxxxxx:key/<aws/es key>\nNode-to-node encryption: Enabled\n\nThe domain's access policy contains:\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"AWS\": \"*\"\n      },\n      \"Action\": \"es:*\",\n      \"Resource\": \"*\"\n    }\n  ]\n}\n\nThe IAM policy for MyLambdaRole contains:\n...\n        {\n            \"Action\": [\n                \"es:*\"\n            ],\n            \"Resource\": [\n                \"*\"\n            ],\n            \"Effect\": \"Allow\"\n        }\n    ]\n\nIn Kibana I have mapped both my AWS admin IAM user and MyLambdaRole under Security -> Role Mappings -> all_access. I have tried different combinations of adding them to Backend roles and also adding them to security_manager.\nThe Lambda uses AWS Signature v4 authentication and the elasticsearch client is version 7.7.0:\nimport boto3\nfrom elasticsearch import Elasticsearch, RequestsHttpConnection, helpers\nfrom requests_aws4auth import AWS4Auth\n\nsession = boto3.Session()\ncredentials = session.get_credentials().get_frozen_credentials()\n\nawsauth = AWS4Auth(credentials.access_key, credentials.secret_key, \\\n    session.region_name, 'es', session_token=credentials.token)\n\nhost = 'search-es-domain.us-east-1.es.amazonaws.com'\n\nes = Elasticsearch(\n    hosts = [{'host': host, 'port': 443}],\n    http_auth = awsauth\n    use_ssl = True,\n    verify_certs = True,\n    connection_class = RequestsHttpConnection\n)\n\n# Single indexing call\ndocument = { my data }\nes.index(index=\"my_index\", doc_type=\"_doc\", id=doc_id, body=document)\n\n# Bulk indexing call\nk = ({ my data })\nhelpers.bulk(es, k)\n\nIf I replace http_auth = awsauth with my Kibana credentials http_auth = (kibana_username, kibana_password) it returns status 200 but then no new documents are created in the index which is weird.\nI would like to know what I could be missing or where my configuration could be off.","product":["kibana"],"versions":["7.7.0"],"lang":"en","answer_count":3,"view_count":13676,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["05-index-patterns-data-views","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-40294803","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40294803/datetime-in-elasticsearch-how-to-handle-timezone","posted_at":"2016-10-27T21:54:03.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"DavidK","score":5,"kind":"question","title":"datetime in Elasticsearch - How to handle timezone","body":"I try to index a field containing a date.\n\nHow can I index a date from a different timezone ?\n\nI've set my elasticsearch field like so :\n'requested_dt': {\"type\": \"date\", \"format\": \"date_time_no_millis\"}\n'local_dt': {\"type\": \"date\", \"format\": \"date_time_no_millis\"}\n\nI've tried to index these values (local_dt) :\n(requested_dt is the current time in France)\n\nIT 2016-10-27T23:46:17Z\nGB 2016-10-27T22:46:19Z\n\n\nI don't get the expected result through Kibana : \n\n[local_dt]\nIT October 28th 2016, 01:46:17.000\nGB October 28th 2016, 00:46:19.000\n\n[requested_dt]\nIT October 27th 2016, 23:46:17.000\nGB October 27th 2016, 23:46:19.000\n\n\nSo, for requested_dt, I get what I expect.\n\nFor local_dt, I don't get what I want.\n\nI've tried to replace the Z value with the UTC offset but I'm not able to get the correct output.\n\nIs there someone able to explain to me how to get the correct output for each timezone I want ?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":26376,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26158351","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26158351/recognising-timestamps-in-kibana-and-elasticsearch","posted_at":"2014-10-02T09:50:23.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"user2985249","score":5,"kind":"question","title":"Recognising timestamps in Kibana and ElasticSearch","body":"I'm new to ElasticSearch and Kibana and am having trouble getting Kibana to recognise my timestamps.\n\nI have a JSON file with lots of data that I wish to insert into Elasticsearch using Curl. Here is an example of one of the JSON entries.\n\n{\"index\":{\"_id\":\"63\"}}\n{\"account_number\":63,\"firstname\":\"Hughes\",\"lastname\":\"Owens\", \"email\":\"[email protected]\", \"_timestamp\":\"2013-07-05T08:49:30.123\"}\n\n\nI have tried to create an index in Elasticsearch using the command:\n\ncurl -XPUT 'http://localhost:9200/test/'\n\n\nI have then tried to set up an appropriate mapping for the timestamp:\n\ncurl -XPUT 'http://localhost:9200/test/container/_mapping' -d'\n{\n\"container\" : {\n\"_timestamp\" : {\n\"_timestamp\" : {\"enabled: true, \"type\":\"date\", \"format\": \"date_hour_minute_second_fraction\", \"store\":true}\n}\n}\n}'\n\n\n// format of timestamp from http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html\n\nI then have tried to bulk insert my data:\n\ncurl -XPOST 'localhost:9200/test/container/_bulk?pretty' --data-binary @myfile.json\n\n\nAll of these commands run without fault however when the data is viewed in Kibana the _timestamp field is not being recognised. Sorting via the timestamp does not work and trying to filter the data using different periods does not work. Any ideas on why this problem is occuring is appricieated.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":20227,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-73508356","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73508356/cannot-setup-elasticsearch-kibana-from-docker-kibana-missing-authentication-cr","posted_at":"2022-08-27T04:27:52.000Z","captured_at":"2026-04-14T13:23:54.868Z","author":"W.P. McNeill","score":5,"kind":"question","title":"Cannot Setup Elasticsearch/Kibana from Docker: Kibana &quot;missing authentication credentials for REST request&quot;","body":"I am unable to set up a development Elasticsearch/Kibana instance\nfrom Docker images. I cannot get my Kibana service to connect to my Elasticsearch service.\nI have the following docker-compose.yml file.\nservices:\n\n  elasticsearch:\n    container_name: elasticsearch\n    image: docker.elastic.co/elasticsearch/elasticsearch:8.4.0\n    environment:\n      - discovery.type=single-node\n      - xpack.security.enabled=true\n    ports:\n      - \"9200:9200\"\n\n  kibana:\n    container_name: kibana\n    image: docker.elastic.co/kibana/kibana:8.4.0\n    environment:\n      - ELASTICSEARCH_URL=http://elasticsearch:9200\n      - xpack.security.enabled=true\n    ports:\n      - \"5601:5601\"\n\nI start with no containers created and run docker compose up. From the instructions in Start the Elastic Stack with security enabled automatically, I was expecting to see the following:\nA password is generated for the elastic user and output to the terminal, plus an enrollment token for enrolling Kibana.\n\nNo password is generated. When I look through the logs I see the following from the Kibana container.\n[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]\n2022-08-27T03:18:39.927296590Z \n\nWhen I try to connect to Kiabana via http://localhost:5601 I see a \"Kibana server is not ready yet.\" message that never goes away.\nThere are no errors in the Elasticsearch logs. That service appears to have started without a problem.\nOn the Elasticsearch github, Issue #85047: Elastic User Password Not Generated on New Container, also describes the password not automatically being generated. The solution in that case was to run docker compose up without a -d switch, which is what I am already doing.\nThere is a similar error reported on the Elastic discussion boards, but that was resolved with \"The error was that my kibana.yml wasn't in the config-directory.\" This isn't the case with me.\nAs far as I call tell, I am doing the same thing as what works in this blog post.\nI have tried various modifications to my docker-compose.yml file (e.g. replace ELASTICSEARCH_URL with ELASTICSEARCH_HOST or ELASTICSEARCH_HOSTS, add elasticsearch.username=kibana_system to the Kibana environment variables, or specify an ELASTIC_PASSWORD.). I always get the same error. (Though if I set an ELASTIC_PASSWORD=password environment variable in the Elasticsearch container I can connect via http://localhost:9200 and verify that the Elasticsearch service is running.)\nAfter this failed to work I tried to manually configure minimal security by following the instructions in Set up minimal security for Elasticsearch, but hit the same problem.\nIf I use elasticsearch-reset-password as described in the manual minimum security setup instructions to set the password for kibana_system to password, the following curl command from my host shell\ncurl --user kibana_system -X GET \"http://localhost:9200/?pretty\"\n\nreturns a valid response from Elasticsearch. I can also retrieve\ncurl --user kibana_system -X GET \"http://localhost:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip\"\n\nthe URL mentioned in the Kibana logs error.\nSo apparently the kibana_system user is being created with the right password, but it's not getting used properly during Kibana startup.\n\nThe following docker-compose.yml copied from this blog post file works.\nservices:\n\n  elasticsearch:\n    image: elasticsearch:2.4\n    ports:\n      - \"9200:9200\"\n    environment:\n      - discovery.type=single-node\n\n  kibana:\n    image: kibana:4.6\n    ports:\n      - \"5601:5601\"\n    environment:\n      - ELASTICSEARCH_URL=http://elasticsearch:9200\n\nI can immediately log in to Kibana at http://localhost:5601.\nPresumably versions 2.4/4.6 are old enough that the security features that are causing problems were not implemented yet.\n\nVersion 8.4.0 if I copy the files from the Install Elasticsearch with Docker instructions.","product":["kibana"],"versions":["8.4.0"],"lang":"en","answer_count":2,"view_count":6202,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","08-spaces-and-rbac","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-41345415","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/41345415/where-exactly-to-see-particular-index-data-in-kibana","posted_at":"2016-12-27T12:40:23.000Z","captured_at":"2026-04-14T13:23:54.869Z","author":"Nagappa L M","score":5,"kind":"question","title":"Where exactly to see particular index data in kibana?","body":"I am very new to ELK stack.Now i am able create custom index in elastic search by using log-stash and i can see created index in *9200/_plugin/head/ url . But want to view those created indexes/inside data in kibana.\n\nI have kibana homepage *9200/_plugin/kibana/#/dashboard/file/default.json\n\nCan any one suggest please ?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":20940,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["15-plugin-and-ecosystem","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-39398035","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39398035/accessing-kibana-on-local-network","posted_at":"2016-09-08T18:38:37.000Z","captured_at":"2026-04-14T13:23:54.869Z","author":"learner","score":5,"kind":"question","title":"Accessing kibana on local network","body":"I want to access kibana running on my local system to be accessed by local_ip:5601 on other systems in my local network. I tried adding these two lines in elastic search:\n\n http.cors.allow-origin: \"*\"\n http.cors.enabled: true\n\n\nBut, it didn't work either.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":9696,"accepted":true,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-54694639","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54694639/is-it-possible-for-users-to-set-their-own-timezone-in-kibana","posted_at":"2019-02-14T16:10:41.000Z","captured_at":"2026-04-14T13:23:54.869Z","author":"slm","score":5,"kind":"question","title":"Is it possible for users to set their own timezone in Kibana?","body":"I'm familiar with the timezone option under the advanced settings area of Kibana, but was wondering if anyone has found a way for individual users to override this with their own setting?\n\nFor reference - https://www.elastic.co/guide/en/kibana/current/advanced-options.html. The global setting for Kibana is below and not what I want to change.\n\n   \n\nIdeally I'd like for each user to be able to set this to whatever they'd like.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8676,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-44376522","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44376522/deleting-visualization-from-kibana","posted_at":"2017-06-05T19:43:45.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Ed Knowles","score":5,"kind":"question","title":"Deleting Visualization from Kibana","body":"I just added a large JSON object in the Visualization x-axis filters tab which sent me to this page\n\nhttp://localhost:5601/app/kibana#/error/url-overflow?_g=()\n\n\n  Kibana limits URLs in your browser to 25000 characters for your safety.\n\n\nKibana is shutting me out. How can I delete this visualization?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3971,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-37423439","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37423439/how-do-you-export-import-index-pattern-types-in-kibana","posted_at":"2016-05-24T20:39:43.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Nathan Reese","score":5,"kind":"question","title":"How do you export/import &quot;index-pattern&quot; types in Kibana","body":"Kibana 4.3 has great features for importing/exporting dashboards, searches, and visualizations. However, the related index-patterns are not contained in the the generated export.json file. When importing an export.json file into another kibana index, Kibana reports errors Could not locate that index-pattern-field (id: <index-pattern name>).\n\nHow do you migrate kibana's index-patterns from one Elasticsearch instance to another?\n\nThanks,\n\nNathan","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":23172,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["05-index-patterns-data-views","06-sharing-and-export"],"sentiment":"positive","tags":[]}
{"id":"so-33675945","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33675945/optimal-way-to-set-up-elk-stack-on-three-servers","posted_at":"2015-11-12T16:06:46.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"jeromefroe","score":5,"kind":"question","title":"Optimal way to set up ELK stack on three servers","body":"I am looking to set up an ELK stack and have three servers to do so. While I have found plenty of documentation and tutorials about how to actually install, and configure elasticsearch, logstash, and kibana, I have found less information about how I should set up the software across my servers to maximize performance. For example, would it be better to set up elasticsearch, logstash, and kibana on all three instances, or perhaps install elasticsearch on two instances and logstash and kibana on the third?\n\nRelated to that question, if i have multiple elasticsearch servers in my cluster, will I need a load balancer to spread requests to them, or can I send the data to one server, and it will distribute it accordingly?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7703,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-61782692","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61782692/the-tag-beats-input-codec-plain-applied-present-in-every-document-in-kibana","posted_at":"2020-05-13T18:57:11.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"d3vpasha","score":5,"kind":"question","title":"The tag &quot;beats_input_codec_plain_applied&quot; present in every document in Kibana","body":"I have set up the ELK stack with the version 7.2.0 : filebeat, logstash, elasticsearch & kibana.\n\nWhen I send my logs to Kibana, I can see a tag \"beats_input_codec_plain_applied\" in every document.\n\nI search through internet but there is no explanation about why this tag is added.","product":["kibana"],"versions":["7.2.0"],"lang":"en","answer_count":1,"view_count":8288,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-35455816","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35455816/not-able-to-load-kibana-on-port-5601","posted_at":"2016-02-17T11:45:58.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Babeesh","score":5,"kind":"question","title":"Not able to load Kibana on port 5601","body":"I have installed Elasticsearch, Logstash, Kibana and Nginx following this guide,\n\nhttps://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04\n\nElasticsearch is running on 9200 \n\nBut running \n\ncurl http://localhost:5601\n\n\nreturns this: \n\ncurl: (7) Failed to connect to localhost port 5601: Connection refused\n\n\nIn kibana.yml file I configured \n\nserver.port: 5601\n\nserver.host: \"127.0.0.1\"\n\n\nHere I also checked with localhost and aws private ip address.\n\nAnd while checking the port running this:\n\nnetstat -anp | grep 5601\n\n\nI am getting:\n\n(No info could be read for \"-p\": geteuid()=1000 but you should be root.)\n\n\nI can start kibana running:\n\nsudo service kibana start\n\n\nBut while checking status using: \n\nsudo service kibana status\n\n\nI get:\n\nkibana is not running\n\n\nI haven't setup firewall and running \n\nsudo ufw status\n\n\nReturns:\n\nStatus : Inactive\n\n\nI am confused, why is  the kibana port not listening?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":36762,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-71109797","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71109797/reading-logs-from-kibana-through-an-api","posted_at":"2022-02-14T09:45:26.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Isvoran Andrei","score":5,"kind":"question","title":"Reading logs from kibana through an API","body":"So I'm looking for a way to read the kibana logs for my app through a REST API. Searching online didn't lead to what I wanted. I have an app called glass and the logs for it look like this:\n\nI added a filter specifying application is glass and it yields these logs collected in the last 15 minutes.\nIs there a REST API which I can use to get those logs from Postman for example?\nI've also played with the Dev Console but I'm not sure I understand how to use it.\nI've went through these docs: https://www.elastic.co/guide/en/kibana/master/api.html but couldn't find what I was looking for.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":13591,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-47017583","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47017583/how-to-import-export-a-dashboard-in-kibana-using-a-restful-api","posted_at":"2017-10-30T14:22:03.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"ChazMcDingle","score":5,"kind":"question","title":"How to import/export a dashboard in Kibana using a RESTful API","body":"I would like to use a HTTP method to post new dashboards to my local Kibana instance, but I couldn't find much documentation on using an API to do this.\n\nThere was a pull request on Kibana that mentioned it was adding this functionality, but there was limited documentation on how to use it:\nhttps://github.com/elastic/kibana/pull/10858\n\nAn example of a dashboard I'm trying to post:\n\n{\n  \"_id\": \"12345678-1234-1234-1234-1234567890op\",\n  \"_type\": \"dashboard\",\n  \"_source\": {\n    \"title\": \"my-app\",\n    \"hits\": 0,\n    \"description\": \"\",\n    \"panelsJSON\": \"\",\n    \"optionsJSON\": \"{\\\"darkTheme\\\":false}\",\n    \"uiStateJSON\": \"\",\n    \"version\": 1,\n    \"timeRestore\": true,\n    \"timeTo\": \"now/d\",\n    \"timeFrom\": \"now/d\",\n    \"refreshInterval\": {\n      \"display\": \"1 minute\",\n      \"pause\": false,\n      \"section\": 2,\n      \"value\": 60000\n    },\n    \"kibanaSavedObjectMeta\": {\n      \"searchSourceJSON\": \"\"\n    }\n  }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8834,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-34652075","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34652075/kibana-linking-two-independent-events","posted_at":"2016-01-07T09:54:13.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"user1708860","score":5,"kind":"question","title":"Kibana linking two independent events","body":"I have ELK configured for collecting data offline, the log files look something like this :\n\nInfo 2015-08-15 09:33:37,522 User 3 connected\nInfo 2015-08-15 10:03:57,592 User 99 connected\n\nInfo 2015-08-15 11:42:37,522 User 99 disconnected \nInfo 2015-08-15 11:49:12,108 User 3 disconnected\n\n\nWhat I'm looking for is the average connection time on a time line.\n\nI can't add more information to the messages, specifically i can't add the connection time to the disconnection message.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4610,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-23090578","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23090578/showing-different-document-types-in-kibana-from-elasticsearch","posted_at":"2014-04-15T17:29:52.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"user3284007","score":5,"kind":"question","title":"Showing Different Document Types in Kibana from ElasticSearch","body":"I'm in the process of trying to setup a Kibana dashboard. This dashboard is hitting an ElasticSearch index. My index has the following mappings:\n\n\"myindex\": {\n  \"mappings\": {\n    \"animals\": {\n      \"properties\": {\n        \"@timestamp\": {\n          \"type\": \"date\",\n          \"format\": \"dateOptionalTime\"\n        },\n        \"@version\": {\n          \"type\": \"string\"\n        },\n        \"Class\": {\n          \"type\": \"string\"\n        },\n        \"Order\": {\n          \"type\": \"string\"\n        },\n        \"Family\": {\n          \"type\": \"string\"\n        },\n        \"Genus\": {\n          \"type\": \"string\"\n        },\n        \"Species\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"elements\" : {\n      \"properties\": {\n        \"@timestamp\": {\n          \"type\": \"date\",\n          \"format\": \"dateOptionalTime\"\n        },\n        \"@version\": {\n          \"type\": \"string\"\n        },\n        \"Symbol\": {\n          \"type\": \"string\"\n        },\n        \"Name\": {\n          \"type\": \"string\"\n        },\n        \"Group\": {\n          \"type\": \"string\"\n        },\n        \"Period\": {\n          \"type\": \"string\"\n        }             \n      }\n    }\n  }\n}\n\n\nAs the mappings show, my index has two different types of information. My challenge is, I don't know how to setup my kibana dashboard to just list the information for each type. I've confirmed that the data in my elasticsearch instance is the correct data.\n\nIn my dashboard, I'm trying to show two tables. One table will show all of the documents associated with \"animals\". The other table will show all of the documents associated with \"elements\". Unfortunately, I can't figure out how to focus the results of a table down to a specific type. I'm basically trying to figure out how to setup either a query or a filter (not sure the difference between the two in the kibana world) for a specific panel. Currently, my dashboard looks like this:\n\n{\n  \"title\": \"Research\",\n  \"services\": {\n    \"query\": {\n      \"list\": {\n        \"0\": {\n          \"query\": \"*\",\n          \"alias\": \"\",\n          \"color\": \"#7EB26D\",\n          \"id\": 0,\n          \"pin\": false,\n          \"type\": \"lucene\"\n        }\n      },\n      \"ids\": [\n        0\n      ]\n    },\n    \"filter\": {\n      \"list\": {\n        \"0\": {\n          \"type\": \"time\",\n          \"field\": \"@timestamp\",\n          \"from\": \"now-{{ARGS.from || '24h'}}\",\n          \"to\": \"now\",\n          \"mandate\": \"must\",\n          \"active\": true,\n          \"alias\": \"\",\n          \"id\": 0\n        }\n      },\n      \"ids\": [\n        0\n      ]\n    }\n  },\n  \"rows\": [\n    {\n      \"title\": \"Animals\",\n      \"height\": \"350px\",\n      \"editable\": true,\n      \"collapse\": false,\n      \"collapsable\": true,\n      \"panels\": [\n        {\n          \"title\": \"Animals\",\n          \"error\": false,\n          \"span\": 12,\n          \"editable\": true,\n          \"group\": [\n            \"default\"\n          ],\n          \"type\": \"table\",\n          \"size\": 100,\n          \"pages\": 5,\n          \"offset\": 0,\n          \"sort\": [\n            \"@timestamp\",\n            \"desc\"\n          ],\n          \"style\": {\n            \"font-size\": \"9pt\"\n          },\n          \"overflow\": \"min-height\",\n          \"fields\": [\n            \"Class\",\n            \"Order\",\n            \"Family\",\n            \"Genus\",\n            \"Species\"\n          ],\n          \"localTime\": true,\n          \"timeField\": \"@timestamp\",\n          \"highlight\": [],\n          \"sortable\": true,\n          \"header\": true,\n          \"paging\": true,\n          \"spyable\": true,\n          \"queries\": {\n            \"mode\": \"all\",\n            \"ids\": [\n              0\n            ]\n          },\n          \"field_list\": true,\n          \"status\": \"Stable\",\n          \"trimFactor\": 300,\n          \"normTimes\": true\n        }\n      ],\n      \"notice\": false\n    },\n    {\n      \"title\": \"\",\n      \"height\": \"350px\",\n      \"editable\": true,\n      \"collapse\": false,\n      \"collapsable\": true,\n      \"panels\": [\n        {\n          \"title\": \"Elements\",\n          \"error\": false,\n          \"span\": 12,\n          \"editable\": true,\n          \"group\": [\n            \"default\"\n          ],\n          \"type\": \"table\",\n          \"size\": 100,\n          \"pages\": 5,\n          \"offset\": 0,\n          \"sort\": [\n            \"@timestamp\",\n            \"desc\"\n          ],\n          \"style\": {\n            \"font-size\": \"9pt\"\n          },\n          \"overflow\": \"min-height\",\n          \"fields\": [\n            \"Symbol\",\n            \"Name\",\n            \"Group\",\n            \"Period\"\n          ],\n          \"localTime\": true,\n          \"timeField\": \"@timestamp\",\n          \"highlight\": [],\n          \"sortable\": true,\n          \"header\": true,\n          \"paging\": true,\n          \"spyable\": true,\n          \"queries\": {\n            \"mode\": \"all\",\n            \"ids\": [\n              0\n            ]\n          },\n          \"field_list\": true,\n          \"trimFactor\": 300,\n          \"normTimes\": true\n        }\n      ],\n      \"notice\": false\n    }    \n  ],\n  \"editable\": true,\n  \"failover\": false,\n  \"index\": {\n    \"interval\": \"none\",\n    \"default\": \"myindex\"\n  },\n  \"style\": \"dark\",\n  \"panel_hints\": true,\n  \"pulldowns\": [\n    {\n      \"type\": \"query\",\n      \"collapse\": false,\n      \"notice\": false,\n      \"query\": \"*\",\n      \"pinned\": true,\n      \"history\": [],\n      \"remember\": 10\n    },\n    {\n      \"type\": \"filtering\",\n      \"collapse\": true,\n      \"notice\": false\n    }\n  ],\n  \"loader\": {\n    \"save_gist\": false,\n    \"save_elasticsearch\": true,\n    \"save_local\": true,\n    \"save_default\": true,\n    \"save_temp\": true,\n    \"save_temp_ttl_enable\": true,\n    \"save_temp_ttl\": \"30d\",\n    \"load_gist\": true,\n    \"load_elasticsearch\": true,\n    \"load_elasticsearch_size\": 20,\n    \"load_local\": true,\n    \"hide\": false\n  },\n  \"refresh\": \"30s\"\n}\n\n\nCan someone tell me how to show two different types of documents in Kibana? I see a queries object on the table panel. Yet, I have no idea how to use it.\n\nThank you so much","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":9345,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","05-index-patterns-data-views","08-spaces-and-rbac"],"sentiment":"negative","tags":[]}
{"id":"so-62288922","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62288922/elasticsearch-kibana-yml-file-not-found","posted_at":"2020-06-09T17:52:57.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"officialrahulmandal","score":5,"kind":"question","title":"elasticsearch kibana.yml file not found","body":"In ubuntu elasticsearch kibana.yml file not found at location /opt/kibana/config/kibana.yml which is usually the default path for kibana.yml file.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":5426,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-48398791","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48398791/kibana-does-not-search-on-nested-field","posted_at":"2018-01-23T09:55:50.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Alex Shevchenko","score":5,"kind":"question","title":"Kibana does not search on nested field","body":"working with Elasticsearch/Kibana and trying to search on field in a nested object. However it does not seem to work. Here's mapping that I use in a template:\n\n\r\n\r\n{\r\n  \"order\": 0,\r\n  \"template\": \"ss7_signaling*\",\r\n  \"settings\": {\r\n    \"index\": {\r\n      \"mapping.total_fields.limit\": 3000,\r\n      \"number_of_shards\": \"5\",\r\n      \"refresh_interval\": \"30s\"\r\n  },\r\n  \"mappings\": {\r\n    \"_default_\": {\r\n      \"dynamic_templates\": [\r\n        {\r\n          \"string_fields\": {\r\n            \"mapping\": {\r\n              \"fielddata\": {\r\n                \"format\": \"disabled\"\r\n              },\r\n              \"index\": \"no\",\r\n              \"type\": \"string\"\r\n            },\r\n            \"match_mapping_type\": \"string\",\r\n            \"match\": \"*\"\r\n          }\r\n        }\r\n      ],\r\n      \"properties\": {\r\n        \"message\": {\r\n          \"index\": \"not_analyzed\",\r\n          \"type\": \"string\"\r\n        },\r\n        \"Protocol\": {\r\n          \"index\": \"not_analyzed\",\r\n          \"type\": \"string\"\r\n        },\r\n        \"IMSI\": {\r\n          \"index\": \"not_analyzed\",\r\n          \"type\": \"string\"\r\n        },\r\n        \"nested\": {\r\n            \"type\": \"nested\",\r\n            \"properties\": {\r\n                \"name\": {\r\n                    \"type\": \"string\",\r\n                    \"index\": \"not_analyzed\"\r\n                }\r\n            }\r\n        },\r\n        \"Timestamp\": {\r\n          \"format\": \"strict_date_optional_time||epoch_millis\",\r\n          \"type\": \"date\"\r\n        },\r\n        \"@timestamp\": {\r\n          \"type\": \"date\"\r\n        },\r\n        \"@version\": {\r\n          \"index\": \"not_analyzed\",\r\n          \"type\": \"string\"\r\n        }\r\n      },\r\n      \"_all\": {\r\n        \"norms\": false,\r\n        \"enabled\": false\r\n      }\r\n    }\r\n  },\r\n  \"aliases\": {\r\n    \"signaling\": {}\r\n  }\r\n}\r\n\r\n\r\n\n\nWhen I do search kibana on single fields - everything works fine. Still though i cannot search on nested fields like 'nested.name'.\n\nExample of my query in kibana: nested.name:hi\n\nThanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2621,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["02-discover-and-kql","12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-41466048","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/41466048/parse-logs-in-fluentd","posted_at":"2017-01-04T14:19:45.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Matej","score":5,"kind":"question","title":"Parse logs in fluentd","body":"I have local server running in docker container which is set to use fluentd as a log driver.\nI have docker compose file which runs fluentd, nginx, elasticsearch and kibana in their own containers.\nSo fluentd takes logs from my server, passes it to the elasticsearch and is displayed on Kibana.\n\nMy question is, how to parse my logs in fluentd (elasticsearch or kibana if not possible in fluentd) to make new tags, so I can sort them and have easier navigation.\n\nThis is current log displayed in Kibana. Now I want this log string to be 'broken' into new tags. In this case:\n\n2017/01/04 13:26:56.574909 UTC (Example deployment.web) [INFO] [GET] /api/device/ 200 10.562379ms\n\n\nto\n\ndate: 2017/01/04\ntime: 13:26:56.574909 UTC\nmessage: (Example deployment.web)\nlogType: [INFO]\nother: [GET] /api/device/ 200 10.562379ms\n\n\nMy docker-compose.yml\n\nversion: \"2\"\n\nservices:\n\n  fluentd:\n    image: fluent/fluentd:latest\n    ports:\n      - \"24224:24224\"\n    volumes:\n      - ./fluentd/etc:/fluentd/etc\n    command: /fluentd/etc/start.sh\n    networks:\n      - lognet\n\n  elasticsearch:\n    image: elasticsearch\n    ports:\n      - \"9200:9200\"\n      - \"9300:9300\"\n    volumes:\n      - /usr/share/elasticsearch/data:/usr/share/elasticsearch/data\n    networks:\n      - lognet\n\n  kibana:\n    image: kibana\n    restart: always\n    ports:\n      - \"5601:5601\"\n    environment:\n      - ELASTICSEARCH_URL=http://localhost:9200\n    networks:\n      - lognet\n\n  nginx:\n    image: nginx\n    ports:\n      - \"8084:80\"\n    logging:\n      driver: fluentd\n    networks:\n      - lognet\n\n    networks:\n      lognet:\n        driver: bridge\n\n\nmy fluent.conf file, no parsing included, just simple forward\n\n<source>\n  type forward\n</source>\n\n<match *.*>\n  type elasticsearch\n  host elasticsearch\n  logstash_format true\n  flush_interval 10s\n</match>\n\n\nmy try with regexp, here i try to parse logType out\n\n<source>\n  @type forward\n</source>\n\n<match *.*>\n  type stdout \n</match>\n\n<filter docker.**>\n  @type parser  \n  format /(?<logType>\\[([^\\)]+)\\])/ \n  key_name log\n  reserve_data false\n</filter>\n\n\nI tried other configurations but none resulted in parsing my logs.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11258,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-37528054","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37528054/kibana-service-running-but-no-response-from-browser","posted_at":"2016-05-30T14:25:18.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"alan","score":5,"kind":"question","title":"Kibana service running, but no response from browser","body":"I have my kibana running normal but I can't open the link from browser.\n\nPlease find the Kibana logs below,\n\n  log   [14:09:05.036] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready\n  log   [14:09:05.065] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch\n  log   [14:09:05.100] [info][status][plugin:shield] Status changed from uninitialized to green - Ready\n  log   [14:09:05.103] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready\n  log   [14:09:05.111] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready\n  log   [14:09:05.116] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready\n  log   [14:09:05.118] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready\n  log   [14:09:05.128] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready\n  log   [14:09:05.132] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready\n  log   [14:09:05.136] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready\n  log   [14:09:05.140] [info][listening] Server running at https://0.0.0.0:5600\n\n\nI tried the elasticsearch by \n\ncurl localhost:9200\n\n\nIt shows,\n\n{\n  \"name\" : \"Scream\",\n  \"cluster_name\" : \"elasticsearch\",\n  \"version\" : {\n    \"number\" : \"2.3.3\",\n    \"build_hash\" : \"218bdf10790eef486ff2c41a3df5cfa32dadcfde\",\n    \"build_timestamp\" : \"2016-05-17T15:40:04Z\",\n    \"build_snapshot\" : false,\n    \"lucene_version\" : \"5.5.0\"\n  },\n  \"tagline\" : \"You Know, for Search\"\n}\n\n\nbut for kibana:\n\ncurl localhost:5600\n\ncurl: (52) Empty reply from server\n\n\nPlease find my kibana config,\n\nport: 5600\n# The host to bind the server to.\nhost: \"0.0.0.0\"\n# The Elasticsearch instance to use for all your queries.\nelasticsearch_url: \"http://localhost:9200\"","product":["kibana"],"versions":["5.5.0"],"lang":"en","answer_count":3,"view_count":6623,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-24964556","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24964556/applying-read-only-permission-to-kibana-dashboard","posted_at":"2014-07-25T21:11:03.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"codeBarer","score":5,"kind":"question","title":"Applying read only permission to Kibana dashboard?","body":"is there a way to set some sort of permissions when sharing kibana dashboard with others. I'm worried that someone would either delete it or make changes and save it. I googled but didn't find anything.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":6536,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-24199283","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24199283/email-alert-after-threshold-crossed-logstash","posted_at":"2014-06-13T06:47:51.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Siddharth Trikha","score":5,"kind":"question","title":"Email alert after threshold crossed, logstash?","body":"I am using logstash, elasticsearch and kibana to analyze my logs. \nI am alerting via email when a particular string comes into the log via email output in logstash: \n\nemail {\n        match => [ \"Session Detected\", \"logline,*Session closed*\" ]\n...........................\n}\n\n\nThis works fine.\n\nNow, I want to alert on the count of a field (when a threshold is crossed): \n\nEg If user is field, I want to alert when number of unique users go more than 5. \n\nCan this be done via email output in logstash??\n\nPlease help.\n\nEDIT:\nAs @Alcanzar told I did this:\n\nconfig file:\n\n    if [server] == \"Server2\" and [logtype] == \"ABClog\" {\n\n        grok{\n        match => [\"message\", \"%{TIMESTAMP_ISO8601:timestamp} %{HOSTNAME:server-name} abc\\[%{INT:id}\\]:\n \\(%{USERNAME:user}\\) CMD \\(%{GREEDYDATA:command}\\)\"]       \n        }   \n\n        metrics {\n                meter =>  [\"%{user}\"]\n                add_tag =>  \"metric\"\n            }   \n\n        }\n\n\nSo according to above, for server2 and abclog I have a grok pattern for parsing my file and on the user field parsed by grok I want the metric applied.\n\nI did that in the config file as above, but I get strange behaviour when I check logstash console with -vv.\n\nSo if there are 9 log lines in the file it parses the 9 first, after that it starts metric part but there the message field is not the logline in the log file but it's the user-name of my PC, thus it gives _grokparsefailure. Something like this:\n\n output received {\n   :event=>{\"@version\"=>\"1\", \"@timestamp\"=>\"2014-06-17T10:21:06.980Z\", \"message\"=>\"my-pc-name\", \n    \"root.count\"=>2, \"root.rate_1m\"=>0.0, \"root.rate_5m\"=>0.0, \"root.rate_15m\"=>0.0, \n    \"abc.count\"=>2, \"abc.rate_1m\"=>0.0, \"abc.rate_5m\"=>0.0, \"abc.rate_15m\"=>0.0, \"tags\"=>[\"metric\", \n    \"_grokparsefailure\"]}, :level=>:debug, :file=>\"(eval)\", :line=>\"137\"\n    }\n\n\nAny help is appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9458,"accepted":false,"category":"07-alerting-and-watcher","secondary_categories":[],"sentiment":"negative","tags":["alerting"]}
{"id":"so-67831737","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/67831737/how-can-i-change-all-the-kibana-logos-to-other-logos","posted_at":"2021-06-04T05:04:36.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Python-97","score":5,"kind":"question","title":"How can I change all the Kibana logos to other logos?","body":"How can I change all the Kibana logos to other logos??\nI tried the link method below and other methods, but they didn't work.\nhttps://discuss.elastic.co/t/replace-the-kibana-logo/27547\nMy Goals\nI circled what I was trying to change in Kibana.\n\n\n\n@Miokael Amidi update post (Loading logo and text)\n\nconst logo = _react.default.createElement(\"svg\", {…  \n\n\ncould not find code.\n\nResult:\nconst logo = _react.default.createElement(\"img\", {src:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqkAAAK … 5CYII=',width:'100px'});\n\n-> Also, I don't know how to write the code.\n-> Can I copy and paste it as it is?\nAlso,I can't see it.(Navbar Logo)\n\nLocate string and replace with own base64 or SVG image\n\"EuiHeaderLogo\"],{\"data-test-subj\":\"logo”,iconType:\"logoElastic\"\nResult:\nEuiHeaderLogo\"],{\"data-test-subj\":\"logo”, iconType:\"data:image/png;base64,iVBORw0\n… SUVORK5CYII=\"\n\n-> help me plz..","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7381,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-57649473","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57649473/kibana-statuscode403-errorforbidden-messageforbidden","posted_at":"2019-08-25T20:27:07.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Jake","score":5,"kind":"question","title":"Kibana {&quot;statusCode&quot;:403,&quot;error&quot;:&quot;Forbidden&quot;,&quot;message&quot;:&quot;Forbidden&quot;}","body":"I just set up authentication on a newly installed ES stack.\nI followed: \n\nhttps://www.elastic.co/guide/en/elastic-stack-overview/current/get-started-enable-security.html\n\nI tried logging into kibana as user 'kibana'\n\nI encountered {\"statusCode\":403,\"error\":\"Forbidden\",\"message\":\"Forbidden\"}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5666,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-56997656","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56997656/elasticsearch-data-insertion-with-python","posted_at":"2019-07-11T21:41:37.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"danielschnoll","score":5,"kind":"question","title":"Elasticsearch Data Insertion with Python","body":"I'm brand new to using the Elastic Stack so excuse my lack of knowledge on the subject. I'm running the Elastic Stack on a Windows 10, corporate work computer. I have Git Bash installed for a bash cli, and I can successfully launch the entire Elastic Stack. My task is to take log data that is stored in one of our databases and display it on a Kibana dashboard.\n\nFrom what my team and I have reasoned, I don't need to use Logstash because the database that the logs are sent to is effectively our 'log stash', so to use the Logstash service would be redundant. I found this nifty diagram  \n\non freecodecamp, and from what I gather, Logstash is just the intermediary for log retrieval different services. So instead of using Logstash, since the log data is already in a database, I could just do something like this\n\nUSER ---> KIBANA <---> ELASTICSEARCH <--- My Python Script <--- [DATABASE]\n\n\nMy python script successfully calls our database and retrieves the data, and a function that molds the data into a dict object (as I understand, Elasticsearch takes data in a JSON format).\n\nNow I want to insert all of that data into Elasticsearch - I've been reading the Elastic docs, and there's a lot of talk about indexing that isn't really indexing, and I haven't found any API calls I can use to plug the data right into Elasticsearch. All of the documentation I've found so far concerns the use of Logstash, but since I'm not using Logstash, I'm kind of at a loss here.\n\nIf there's anyone who can help me out and point me in the right direction I'd appreciate it. Thanks\n\n-Dan","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":22067,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-39112378","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39112378/colorize-row-based-on-a-field-value-on-kibana-4","posted_at":"2016-08-23T23:51:57.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Gonzalo Matheu","score":5,"kind":"question","title":"Colorize row based on a field value on kibana 4","body":"Is there any way to colorize or, in general, apply styles to results table on Kibana 4? I'm talking about the discover result table.\n\nBasically, our logs have a level field and we want to add colors on the result table based on its value, so they can be easily recognized. E.g: Error messages should be red, warning messages yellow.\n\nI know elastic search has some highlighting capabilities but know do not how to use them with kibana","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4197,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":["discover"]}
{"id":"so-27358825","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27358825/kibana-case-insensitive-display-of-data","posted_at":"2014-12-08T13:12:57.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"halpsb","score":5,"kind":"question","title":"Kibana: Case-insensitive display of data","body":"Is there a way for Kibana to only display data once for both lowercase and uppercase matches?\n\nFor example, say I need a pie chart of exceptions, I would not want both \"BusinessException\" and \"businessexception\" to be displayed and to be considered different.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4415,"accepted":false,"category":"03-visualization-quality","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-26398313","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26398313/how-to-deploy-kibana4-in-tomcat","posted_at":"2014-10-16T07:14:35.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"tony duan","score":5,"kind":"question","title":"How to deploy Kibana4 in tomcat?","body":"As mentioned in title ...\nregarding kibana3 or previous version we can deploy it in tomcat (just copy kibana folder to webapp folder of tomcat) ,now how to do it with kibana4 ?\n\nactually ,i know i can use kibana4 just by runing kibana.bat file which resides in bin folder ,but i dont want to use it in this way according to our requirement .so just ignore this way .\n\nThanks in advance !","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2488,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-20574198","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/20574198/unable-to-proxy-from-nginx-to-kibana","posted_at":"2013-12-13T19:11:51.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"ali haider","score":5,"kind":"question","title":"unable to proxy from nginx to kibana","body":"I am trying to proxy requests from nginx to kibana (logstash).  I can access the kibana dashboard on port 9292 - I can confirm that a service is listening on port 9292.  I can successfully proxy from nginx to other services but the proxy directive for kibana (port 9292) does not work - I can proxy to 9200 for elasticsearch.  Any ideas on how to troubleshoot this further would be appreciated. \n\nUpdate: \nI have tried changing the server setup in upstream to point to 0.0.0.0 as well as the server address but neither option works.  The request gets routed to the default server.\n\nAnother Update:\nI have noticed that removing the proxy parameters from the nginx default file allows me to forward the request to the kibana listneing port - however, kibana complains about missing \"dashboards/default.json\" which I am guessing is due to some missing or misconfigured setup in nginx.  \n\ndefault (/etc/nginx/sites-available)\n\nupstream logstash {\n        server 127.0.0.1:9292;  ##kibana\n        keepalive 100;\n}\n\nserver {\n        listen 84;\n        listen [::]:84 ipv6only=on;\n        root /var/www/;\n        index index.html index.htm;\n        server_name logstash;\n\n        ##logging per server\n        access_log /var/log/nginx/logstash/access.log;\n        error_log /var/log/nginx/logstash/error.log;\n\n        location / {\n                proxy_redirect off;\n                proxy_set_header X-Real-IP $remote_addr;\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n                proxy_set_header Host $host;\n                proxy_pass http://logstash;\n        }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6636,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-56231573","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56231573/dashboard-only-mode-in-kibana-7-0-1","posted_at":"2019-05-21T05:23:54.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Juned Ansari","score":5,"kind":"question","title":"Dashboard Only Mode in Kibana 7.0.1","body":"I am very new to ELK stack, and just exploring kibana, already created Dashboards and now when i share that Dashboard to others it shows all other tabs too in kibana instead it should be display only Dashboard.\nhow do i set such things in kibana?\n\nI have installed kibana 7.1.0 on my computer, i am able to access directly using below link without login.\nhttp://10.42.35.14:5601\n\nI come to know that we can share kibana 7.1.0 dashboard using \"Dashboard only mode\" option but i dont know how to set it? which come security features under basic licence.\n\n\nI have installed kibana on server and sharing Dashboard by clicking share option\n\nShared URL : 10.42.35.10:5601/goto/83d6947d72ae21a4d6ecccf27096b255\n\n\nNote: above ip is private, i shared kibana dashboard within my local network, but when i open shared link to other computer, i can see all the menus. it should be share only dashboard.","product":["kibana"],"versions":["7.0.1","7.1.0","10.42.35"],"lang":"en","answer_count":1,"view_count":1854,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-51623147","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51623147/how-can-i-filter-the-counter-less-than-a-parameter-in-kibana","posted_at":"2018-07-31T22:49:16.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Doglas","score":5,"kind":"question","title":"How can I filter the counter less than a parameter in Kibana?","body":"I have a question similar to this: How can I filter a field greater than a counter on Kibana? https://github.com/elastic/kibana/issues/9684\n\nOn this link there is a perfect answer: You need use \"{'min_doc_count': X}\" on your Json Input Advanced Bucket Option. Perfect, It runs exactly like I want, except because I want the oposite, something like \"max_doc_count\".\n\nFor my surprise, this options doesn't existis... Some one knows what would be the \"max_doc_count\" equivalent of?\n\nIn SQL would be something like: GROUP BY my_field HAVING COUNT(*) < 3\n\nThanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3139,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-39573257","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39573257/visualizing-a-custom-query-in-kibana","posted_at":"2016-09-19T12:31:11.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Rick van Lieshout","score":5,"kind":"question","title":"Visualizing a custom query in kibana","body":"I've got this custom query for Elasticsearch:\n\n{\n  \"query\": { \"match_all\": {} },\n    \"size\": 0,\n    \"aggs\": {\n        \"hour\": {\n            \"histogram\": {\n                \"script\": \"doc['startTime'].date.hourOfDay\",\n                \"interval\": 1,\n                \"min_doc_count\": 0,\n                \"extended_bounds\": {\n                    \"min\": 0,\n                    \"max\": 23\n                },\n                \"lang\":\"groovy\"\n            }\n        }\n    }\n}\n\nWhich, when ran through postman, gives the following result (not complete):\n \"aggregations\": {\n    \"hour\": {\n      \"buckets\": [\n        {\n          \"key\": 0,\n          \"doc_count\": 18359\n        },\n        {\n          \"key\": 1,\n          \"doc_count\": 18361\n        },\n        {\n          \"key\": 2,\n          \"doc_count\": 18183\n        },\n        {\n          \"key\": 3,\n          \"doc_count\": 19729\n        },\n\nThing is, now I want to visualise these buckets in Kibana.\nThe goal is to show 24 bars each with their respective doc_count.\nIf I put the query into the search bar however I get the error:\nVisualize: [filtered] query does not support [query].\nGoing into the visualize tab and adding an x-asis of aggregation type \"Date histogram\", field \"startTime\" (which is my date field), interval auto and the following json:\n{\n    \"histogram\": {\n        \"script\": \"doc['startTime'].date.hourOfDay\",\n        \"interval\": 1,\n        \"min_doc_count\": 0,\n        \"extended_bounds\": {\n            \"min\": 0,\n            \"max\": 23\n        },\n        \"lang\":\"groovy\"\n    }\n}\n\nalso produces an error:\n Visualize: Unknown key for a START_OBJECT in [2]: [histogram].\nBeen reading up on different solutions for the past 3 hours and haven't stumbled accross any working solutions.\nSome more info:\n\"version\": {\n  \"number\": \"2.3.3\",\n  \"build_hash\": \"218bdf10790eef486ff2c41a3df5cfa32dadcfde\",\n  \"build_timestamp\": \"2016-05-17T15:40:04Z\",\n  \"build_snapshot\": false,\n  \"lucene_version\": \"5.5.0\"\n}\n\n\nKibana version: 4.5.0\nKibana build: 9889\n\nAnyone out there that can give me a hand :)?","product":["kibana"],"versions":["5.5.0","5.0"],"lang":"en","answer_count":2,"view_count":12014,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","03-visualization-quality","05-index-patterns-data-views"],"sentiment":"neutral","tags":[]}
{"id":"so-33031782","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33031782/different-y-axis-scales-on-kibana-split-chart","posted_at":"2015-10-09T06:55:35.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"eran","score":5,"kind":"question","title":"Different Y-Axis scales on Kibana split chart","body":"I've got a graph I want to split, so I see the graphs in 3 different rows. However, it autoscales all three graphs' y-axis to the minimum and maximum of all of them. This is very problematic, as one of the graphs has a much larger scale, and the others just look like zeros.\n\nI'm using Kibana 4. Is there a way to specify each grpah uses it's own auto-scaling? or explicitly setting the limits of the scale displayed?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":4416,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality"],"sentiment":"neutral","tags":[]}
{"id":"so-30846910","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30846910/kibana-histogram-multiple-parameterized-lines-on-a-single-chart","posted_at":"2015-06-15T13:49:42.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Pom12","score":5,"kind":"question","title":"Kibana histogram - Multiple, parameterized lines on a single chart","body":"I need to be able to display multiple lines on a single histogram chart, where each line should be represented by a parameter. I have multiple servers for which I want to monitor, say, the CPU usage. My Kibana input data would look something like this:\n\n\n         Timestamp        | Machine |   Name  |  Value |    \n\n2015-06-15T13:31:50.831Z  |   06    | CPUUsage | 26.71 |    \n2015-06-15T13:31:50.831Z  |   04    | CPUUsage | 19.95 |    \n2015-06-15T13:31:50.831Z  |   03    | CPUUsage | 17.54 |        \n2015-06-15T13:31:50.831Z  |   02    | CPUUsage | 20.08 |        \n\n\n... and so on.\n\nAs you will understand, I need to graph each machine as a single line of a common histogram chart.\nAt the moment, I have as many Kibana queries as my number of machines I want to monitor, so for the example input above, i'll have 4 queries :\n\n\nName:\"CPUUsage\" AND Machine:\"02\"\nName:\"CPUUsage\" AND Machine:\"03\"\nName:\"CPUUsage\" AND Machine:\"04\"\nName:\"CPUUsage\" AND Machine:\"06\"\n\n\nSo it renders like the following :\n\n\n\nNow rendering is great, but my problem is that I have to add a query for each machine I want to monitor, and that is both very cumbersome and not scalable at all, particularly because the number of machines to monitor is constantly evolving.\n\nFinally, what I would like to achieve is to only declare a single query that would like this :\n\n\nName:\"CPUUsage\"\n\n\nThis query would be machine-agnostic, but for that I need to be able to tell Kibana to split my query in N lines using my parameter \"Machine\"... is that even possible ?\n\nNote : I'm currently using Kibana 3.1.0.","product":["kibana"],"versions":["19.95","17.54"],"lang":"en","answer_count":1,"view_count":2985,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["03-visualization-quality","04-performance-and-load"],"sentiment":"positive","tags":[]}
{"id":"so-29297364","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29297364/kibana-and-elasticsearch-compatibility","posted_at":"2015-03-27T09:33:41.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Heschoon","score":5,"kind":"question","title":"Kibana and Elasticsearch compatibility","body":"I want to use Kibana with my Elasticsearch instance. Having downloaded the latest Kibana instance, I realized that it isn't compatible with my Elasticsearch version:\n\n\n  Kibana: This version of Kibana requires Elasticsearch 1.4.4 or higher on all nodes. I found the following incompatible nodes in your cluster: \n  Elasticsearch v1.3.1\n\n\nWhere can I find what versions of Kibana are compatible with which releases of Elasticsearch?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":7384,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26937570","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26937570/logstash-kibana-terms-panel-without-breaking-words","posted_at":"2014-11-14T19:36:45.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"brunodahora","score":5,"kind":"question","title":"Logstash + Kibana terms panel without breaking words","body":"I have a Java application that writes to a log file in json format.\nThe fields that come in the logs are variable.\nThe logstash reads this logfile and sends it to Kibana.\n\nI've configured the logstash with the following file:\n\ninput {\n        file {\n                path => [\"[log_path]\"]\n                codec => \"json\"\n        }\n}\n\nfilter{\n        json {\n                source => \"message\"\n        }\n\n        date {\n                match => [ \"data\", \"dd-MM-yyyy HH:mm:ss.SSS\" ]\n                timezone => \"America/Sao_Paulo\"\n        }\n}\n\noutput {\n        elasticsearch_http {\n                flush_size => 1\n                host => \"[host]\"\n                index => \"application-%{+YYYY.MM.dd}\"\n        }\n}\n\n\nI've managed to show correctly everything in Kibana without any mapping.\nBut when I try to create a terms panel to show a count of the servers who sent those messages I have a problem.\nI have a field called server in my json, that show the servers name (like: a1-name-server1), but the terms panel split the server name because of the \"-\".\nAlso I would like to count the number of times that a error message appears, but the same problem occurs, because the terms panel split the error message because of the spaces.\n\nI'm using Kibana 3 and Logstash 1.4.\nI've searched a lot on the web and couldn't find any solution.\nI also tried using the .raw from logstash, but it didn't work.\n\nHow can I manage this?\n\nThanks for the help.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2847,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["05-index-patterns-data-views","08-spaces-and-rbac","12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-70838975","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/70838975/why-is-elasticsearch-opensearch-query-returning-everything","posted_at":"2022-01-24T18:50:24.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"rarelyNecessary","score":5,"kind":"question","title":"Why is Elasticsearch/Opensearch query returning everything?","body":"I'm using AWS's OpenSearch, and I'm having trouble getting any queries or filters to only return matching results.\nTo test, I'm using sample ecommerce data that includes the field \"customer_gender\" that's one of \"MALE\" or FEMALE.\" I'm trying to use the following query:\nGET /kibana_sample_data_ecommerce/_search\n\n{\n  \"query\": {\n    \"multi_match\": {\n      \"query\" : \"FEMALE\"\n      \"fields\": [\"customer_gender\"]\n    }\n  }\n}\n\nBut all the results with \"MALE\" are still showing up. I've tried this as a POST request instead of a GET request, I've tried lowercasing, and I've tried using term queries and fulltext queries (like match) and I'm getting the same results every time. Is there some way I'm formatting these queries wrong? I've scoured through the documentation and I haven't been able to find any clues that have had a difference.\nHere are some JSON examples of other types of queries I've tried:\n{\n  \"query\": {\n    \"match\": {\n      \"customer_gender\": \"FEMALE\"\n    }\n  }\n}\n\n{\n  \"query\": {\n    \"match\": {\n      \"customer_gender\": {\n        \"value\": \"FEMALE\"\n      }\n    }\n  }\n}\n\n{\n  \"query\": {\n    \"constant_score\": {\n      \"filter\": {\n        \"term\": {\n          \"customer_gender\": \"FEMALE\"\n        }\n      }\n    }\n  }\n}\n\nHere is an example of a _source for query objects:\n        {\n          \"category\" : [\n            \"Men's Clothing\"\n          ],\n          \"currency\" : \"EUR\",\n          \"customer_first_name\" : \"Eddie\",\n          \"customer_full_name\" : \"Eddie Underwood\",\n          \"customer_gender\" : \"MALE\",\n          \"customer_id\" : 38,\n          \"customer_last_name\" : \"Underwood\",\n          \"customer_phone\" : \"\",\n          \"day_of_week\" : \"Monday\",\n          \"day_of_week_i\" : 0,\n          \"email\" : \"[email protected]\",\n          \"manufacturer\" : [\n            \"Elitelligence\",\n            \"Oceanavigations\"\n          ],\n          \"order_date\" : \"2021-11-29T09:28:48+00:00\",\n          \"order_id\" : 584677,\n          \"products\" : [\n            {\n              \"base_price\" : 11.99,\n              \"discount_percentage\" : 0,\n              \"quantity\" : 1,\n              \"manufacturer\" : \"Elitelligence\",\n              \"tax_amount\" : 0,\n              \"product_id\" : 6283,\n              \"category\" : \"Men's Clothing\",\n              \"sku\" : \"ZO0549605496\",\n              \"taxless_price\" : 11.99,\n              \"unit_discount_amount\" : 0,\n              \"min_price\" : 6.35,\n              \"_id\" : \"sold_product_584677_6283\",\n              \"discount_amount\" : 0,\n              \"created_on\" : \"2016-12-26T09:28:48+00:00\",\n              \"product_name\" : \"Basic T-shirt - dark blue/white\",\n              \"price\" : 11.99,\n              \"taxful_price\" : 11.99,\n              \"base_unit_price\" : 11.99\n            },\n            {\n              \"base_price\" : 24.99,\n              \"discount_percentage\" : 0,\n              \"quantity\" : 1,\n              \"manufacturer\" : \"Oceanavigations\",\n              \"tax_amount\" : 0,\n              \"product_id\" : 19400,\n              \"category\" : \"Men's Clothing\",\n              \"sku\" : \"ZO0299602996\",\n              \"taxless_price\" : 24.99,\n              \"unit_discount_amount\" : 0,\n              \"min_price\" : 11.75,\n              \"_id\" : \"sold_product_584677_19400\",\n              \"discount_amount\" : 0,\n              \"created_on\" : \"2016-12-26T09:28:48+00:00\",\n              \"product_name\" : \"Sweatshirt - grey multicolor\",\n              \"price\" : 24.99,\n              \"taxful_price\" : 24.99,\n              \"base_unit_price\" : 24.99\n            }\n          ],\n          \"sku\" : [\n            \"ZO0549605496\",\n            \"ZO0299602996\"\n          ],\n          \"taxful_total_price\" : 36.98,\n          \"taxless_total_price\" : 36.98,\n          \"total_quantity\" : 2,\n          \"total_unique_products\" : 2,\n          \"type\" : \"order\",\n          \"user\" : \"eddie\",\n          \"geoip\" : {\n            \"country_iso_code\" : \"EG\",\n            \"location\" : {\n              \"lon\" : 31.3,\n              \"lat\" : 30.1\n            },\n            \"region_name\" : \"Cairo Governorate\",\n            \"continent_name\" : \"Africa\",\n            \"city_name\" : \"Cairo\"\n          },\n          \"event\" : {\n            \"dataset\" : \"sample_ecommerce\"\n          }\n        }\n\nEDIT: The Kibana dashboards/explore pages are all querying just fine, as a note, but when I copy-paste the same queries to the console, it's still not working there","product":["kibana"],"versions":["11.99","6.35","11.75"],"lang":"en","answer_count":1,"view_count":1936,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-43340150","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/43340150/filebeat-timestamp-not-overwritten","posted_at":"2017-04-11T08:05:55.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"LetsPlayYahtzee","score":5,"kind":"question","title":"filebeat @timestamp not overwritten","body":"I use filebeat to write logs to an elasticsearch server. My logs are in json format. Every line is a json string that looks like this\n\n{\"@timestamp\": \"2017-04-11T07:52:480,230\", \"user_id\": \"1\", \"delay\": 12}\n\n\nI want the @timestamp field from my logs to replace the @timestamp field that filebeat creates when reading the logs. On my kibana dashboard I always get\n\n\n  json_error:@timestamp not overwritten (parse error on 2017-04-11T07:52:48,230)\n\n\nand end up seeing the @timestamp field created by filebeat\n\nMy filebeat conf includes those lines regarding overwriting fields\n\njson.keys_under_root: true\njson.overwrite_keys: true\njson.add_error_key: true\n\n\nAlso from my log4j conf the @timestamp field created in my logs is in ISO8601 format. Any idea what the problem is and why the @timestamp field is not overwritten?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":5846,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-37674021","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37674021/how-to-visualize-data-from-a-postgresql-in-kibana","posted_at":"2016-06-07T08:17:55.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Dett","score":5,"kind":"question","title":"How to visualize data from a Postgresql in Kibana?","body":"I need to some visualize data from a Postgresql in Kibana. I have also ElasticSearch installed just in case. So how visualize data from a Postgresql in Kibana? Of course, I don't need the whole database, but only data returned by a custom sql query. \nAlso, I want it to be as simple as possible, I wouldn't like to use libraries I really don't need to use.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":13097,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-31140682","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31140682/how-to-test-elasticsearch-logstash-and-kibana","posted_at":"2015-06-30T14:11:24.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"msdundar","score":5,"kind":"question","title":"How to Test ElasticSearch Logstash and Kibana","body":"I have installed elasticsearch, logstash and kibana to my Debian server. The problem is Kibana is not showing any statistics or logs. I don't know what is wrong and how to debug this problem. When I test each of the components (elasticsearch, kibana and logstash) everything looks working properly.\n\nElasticSearch Tests\n\n\nChecking elasticsearch-cluster status:\n\n\n\n  curl 'localhost:9200/_cluster/health?v'\n\n\n{\"cluster_name\":\"elasticsearch\",\"status\":\"yellow\",\"timed_out\":false,\"number_of_nodes\":1,\"number_of_data_nodes\":1,\"active_primary_shards\":71,\"active_shards\":71,\"relocating_shards\":0,\"initializing_shards\":0,\"unassigned_shards\":71,\"number_of_pending_tasks\":0}\n\n\n\nChecking elasticsearch-node status:\n\n\n\n  curl 'localhost:9200/_cat/nodes?v'\n\n\nhost ip            heap.percent ram.percent load node.role master name    \nais  193.xx.yy.zz            6      10     0.05      d       *   Shathra\n\n\n\nChecking elasticsearch-index status:\n\n\n\n  curl 'localhost:9200/_cat/indices?v'\n\n\nhealth status index              pri rep docs.count docs.deleted store.size pri.store.size \nyellow open   countries            5   1        243          365    145.2kb        145.2kb \nyellow open   imports              5   1         26            7     49.6kb         49.6kb \nyellow open   categories           5   1          6            1     20.6kb         20.6kb \nyellow open   faculties            5   1         36            0     16.9kb         16.9kb \nyellow open   users                5   1       6602           29      1.8mb          1.8mb \nyellow open   cities               5   1        125            0     23.5kb         23.5kb \nyellow open   exam_languages       5   1        155            0     26.6kb         26.6kb \nyellow open   departments          5   1        167           70    166.4kb        166.4kb \nyellow open   examinations         5   1          4            0     14.1kb         14.1kb \nyellow open   certificates         5   1          1            0        3kb            3kb \nyellow open   .kibana              1   1          2            1       14kb           14kb \nyellow open   exam_centers         5   1          5            0     22.7kb         22.7kb \n\n\n\nChecking elasticsearch-service status:\n\n\n\n  $ service elasticsearch status\n\n\n[ ok ] elasticsearch is running.\n\n\nElasticSearch is also reacable from localhost:9200 in my browser and listing indexes correct.\n\n/etc/nginx/sites-available/elasticsearch file =>\n\nserver {\n  listen 443;\n  server_name es.xxx.yyy.com;\n  ssl on;\n  ssl_certificate /etc/elasticsearch/ssl/es_domain.crt;\n  ssl_certificate_key /etc/elasticsearch/ssl/es_domain.key;\n  access_log /var/log/nginx/elasticsearch/access.log;\n  error_log /var/log/nginx/elasticsearch/error.log debug;\n  location / {\n    rewrite ^/(.*) /$1 break;\n    proxy_ignore_client_abort on;\n    proxy_pass http://localhost:9200;\n    proxy_redirect http://localhost:9200 http://es.xxx.yyy.com/;\n    proxy_set_header  X-Real-IP  $remote_addr;\n    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header  Host $http_host;\n    auth_basic \"Elasticsearch Authentication\";\n    auth_basic_user_file /etc/elasticsearch/user.pwd;\n  }\n}\n\nserver{\n  listen 80;\n  server_name es.xxx.yyy.com;\n  return 301 https://$host$request_uri;\n}\n\n\nKibana Tests\n\n\n  $ service kibana4 status\n\n\n[ ok ] kibana is running.\n\n\n/etc/nginx/sites-available/kibana file =>\n\nserver {\n  listen 443;\n  server_name kibana.xxx.yyy.com;\n  ssl on;\n  ssl_certificate /opt/kibana/ssl/es_domain.crt;\n  ssl_certificate_key /opt/kibana/ssl/es_domain.key;\n  access_log /var/log/nginx/kibana/access.log;\n  error_log /var/log/nginx/kibana/error.log debug;\n  location / {\n    rewrite ^/(.*) /$1 break;\n    proxy_ignore_client_abort on;\n    proxy_pass http://localhost:5601;\n    proxy_redirect http://localhost:5601 http://kibana.xxx.yyy.com/;\n    proxy_set_header  X-Real-IP  $remote_addr;\n    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header  Host $http_host;\n    auth_basic \"Kibana Authentication\";\n    auth_basic_user_file /etc/nginx/htpasswd.users;\n  }\n}\n\nserver{\n  listen 80;\n  server_name kibana.xxx.yyy.com;\n  return 301 https://$host$request_uri;\n}\n\n\nKibana is also reacable from localhost:5601 in my browser without any problem.\n\nLogstash Tests\n\n\n  $ sudo /etc/init.d/logstash status\n\n\n[ ok ] logstash is running.\n\n\n/etc/logstash/conf.d/01-ais-input.conf file =>\n\ninput {\n  file {\n    type => \"rails\"\n    path => \"/srv/www/xxx.yyy.com/site/log/logstasher.log\" \n    codec => json {\n      charset => \"UTF-8\"\n    }\n  }\n}\n\noutput {\n  elasticsearch {\n   host => 'localhost'\n   port => 9200\n  }\n}\n\n\nIs there anything wrong with these services and config files? Each of the components look working fine but I can not see anything in Kibana interface. How can I test my ELK stack?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7005,"accepted":true,"category":"04-performance-and-load","secondary_categories":["08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-27924291","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27924291/kibana-4-datetime-displaying-local-values","posted_at":"2015-01-13T14:22:48.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"TrampSansTom","score":5,"kind":"question","title":"Kibana 4 DateTime Displaying Local Values","body":"I'm storing data in ElasticSearch that looks something like:\n\"_source\": {\n               \"realtimestamp\": \"2014-12-05\",\n               …\n            },\n\nAnd I have users in different time zones creating Kibana 4 Charts to view the data.\nThe problem is that we would like for the Kibana 4 Charts to show the time values in UTC Time Zone and NOT in the user's local time zone.\n\nThe image shows how the date value is being rendered now (NOT in UTC):\n\nAny idea how I can get Kibana 4 to display date values in UTC to the user?\nTHANKS! - Matt","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5464,"accepted":false,"category":"03-visualization-quality","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-67614948","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/67614948/how-to-update-data-type-of-a-field-in-elasticsearch","posted_at":"2021-05-20T06:21:43.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"S Andrew","score":5,"kind":"question","title":"How to update data type of a field in elasticsearch","body":"I am publishing a data to elasticsearch using fluentd. It has a field Data.CPU which is currently set to string. Index name is health_gateway\n\nI have made some changes in python code which is generating the data so now this field Data.CPU has now become integer. But still elasticsearch is showing it as string. How can I update it data type.\nI tried running below commands in kibana dev tools:\nPUT health_gateway/doc/_mapping\n{\n    \"doc\" : {\n        \"properties\" : {\n            \"Data.CPU\" : {\"type\" : \"integer\"}\n        }\n    }\n}\n\nBut it gave me below error:\n{\n  \"error\" : {\n    \"root_cause\" : [\n      {\n        \"type\" : \"illegal_argument_exception\",\n        \"reason\" : \"Types cannot be provided in put mapping requests, unless the include_type_name parameter is set to true.\"\n      }\n    ],\n    \"type\" : \"illegal_argument_exception\",\n    \"reason\" : \"Types cannot be provided in put mapping requests, unless the include_type_name parameter is set to true.\"\n  },\n  \"status\" : 400\n}\n\nThere is also this document which says using mutate we can convert the data type but I am not able to understand it properly.\nI do not want to delete the index and recreate as I have created a visualization based on this index and after deleting it will also be deleted. Can anyone please help in this.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7707,"accepted":true,"category":"04-performance-and-load","secondary_categories":["01-dashboard-authoring","05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-63353894","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63353894/logstash-beats-input-invalid-version-of-beats-protocol","posted_at":"2020-08-11T07:57:02.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Pikappa","score":5,"kind":"question","title":"Logstash beats input &quot;invalid version of beats protocol&quot;","body":"I'm writing a kibana plugin and a logstash pipeline. For my tests, I just wrote a logstash input like that:\ninput {\n\n   beats {\n        port => 9600\n        ssl => false\n        ssl_verify_mode => \"none\"\n    }\n\n}\n\nBut when I try to open a connection with node (code above):\ninvoke = (parameters, id, port, host) => {\n        var fs = require('fs');\n\n        console.log(`Sending message in beats, host= ${host}, port= ${port}, message= ${parameters.message}`);\n\n        var connectionOptions = {\n            host: host,\n            port: port\n        };\n\n        var client = lumberjack.client(connectionOptions, {rejectUnauthorized: false, maxQueueSize: 500});\n\n        client.writeDataFrame({\"line\": id + \" \" + parameters.message});\n    }\n\nlogstash gives to me \"invalid version of beats protocol: 22\" and \"invalid version of beats protocol: 3\":\nCaused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 22\n        at org.logstash.beats.Protocol.version(Protocol.java:22) ~[logstash-input-beats-6.0.11.jar:?]\n        at org.logstash.beats.BeatsParser.decode(BeatsParser.java:62) ~[logstash-input-beats-6.0.11.jar:?]\n        at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        ... 9 more\n[2020-08-11T07:49:47,954][INFO ][org.logstash.beats.BeatsHandler] [local: 172.22.0.40:9600, remote: 172.22.0.1:33766] Handling exception: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3\n[2020-08-11T07:49:47,955][WARN ][io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.\nio.netty.handler.codec.DecoderException: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3\n        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:471) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:404) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:371) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:61) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:253) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at java.lang.Thread.run(Thread.java:834) [?:?]\nCaused by: org.logstash.beats.InvalidFrameProtocolException: Invalid version of beats protocol: 3\n        at org.logstash.beats.Protocol.version(Protocol.java:22) ~[logstash-input-beats-6.0.11.jar:?]\n        at org.logstash.beats.BeatsParser.decode(BeatsParser.java:62) ~[logstash-input-beats-6.0.11.jar:?]\n        at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[netty-all-4.1.49.Final.jar:4.1.49.Final]\n        ... 11 more","product":["kibana"],"versions":["6.0.11"],"lang":"en","answer_count":3,"view_count":28510,"accepted":false,"category":"15-plugin-and-ecosystem","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-55664715","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55664715/duplicate-a-document-on-elasticsearch","posted_at":"2019-04-13T10:59:35.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"gal007","score":5,"kind":"question","title":"Duplicate a document on elasticsearch","body":"I need to clone the content of a document in my elasticsearch index (in the same index) by using the kibana console. I need exactly the same fields in the _source of the document (of course, the copy will have another id). I tryed to:\n\n\nGET the document\nCreate a new empty instance of document \nUpdate the new document by\nmanually copying the properties of the result on (1):\n\n\n\nPOST /blog/post/VAv2FWoBKgnBpki61WiD/_update {    \"doc\" : {\n  \"content\" : \"...\" ...\n\n\n\nBut the problem is the field contain veeeery long properties. And sometimes I got an error since the strings seem not to be scaped when I manually copy them from the Kibana interface.\n\nI searched in the documentation but I can not find a query to duplicate a document, and it is a quite common think to do I think...\n\nAny clue?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6242,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-53721353","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53721353/extract-value-from-string-in-kibana","posted_at":"2018-12-11T09:46:44.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Ashish Bhatia","score":5,"kind":"question","title":"Extract value from string in kibana","body":"My logs are added in kibana, the logs are in string format. \nConsider a log line is like 'Total Execution time 1s' I need to extract 1 from this line and put this in some graph or sum it. \n\nCan someone please guide how to do that.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7552,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-31394229","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31394229/plot-actual-value-on-y-axis-in-kibana-4","posted_at":"2015-07-13T22:01:23.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Yellowjacket","score":5,"kind":"question","title":"Plot actual value on y axis in kibana 4","body":"I want to plot time on x axis and a numeric field 'f' occurring at that time on y axis in kibana 4.\nI have changed the data type of 'f' to integer and I can confirm that it has changed from kibana index settings.\n\nHowever, the only aggregation options available for Y axis are count/min/max/sum etc. This post has an answer for plotting sum but I'm interested in plotting actual values.\nIs there a way to do this?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8070,"accepted":false,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views"],"sentiment":"negative","tags":[]}
{"id":"so-20599286","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/20599286/can-i-set-arbitrary-elasticsearch-query-into-kibana-graph","posted_at":"2013-12-15T20:17:35.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"ipolevoy","score":5,"kind":"question","title":"Can I set arbitrary elasticsearch query into Kibana graph?","body":"alternatively, is there a way to see and edit the queries generated by Kibana?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2587,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-66345473","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66345473/why-does-kibana-forward-the-url-to-spaces-enter","posted_at":"2021-02-24T06:00:27.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Joey Yi Zhao","score":5,"kind":"question","title":"why does Kibana forward the url to `/spaces/enter`?","body":"I have a kibana running inside docker container in k8s. And I put a nginx as sidecar to forward all traffic to kibana based on path.\nBelow is my nginx configuration. It works fine for elasticsearch. But when I open /kibana/ in browser, it redirects to /spaces/enter and shows 404 Not Found.\nIn kibana container log I can see a 302 forward log:\n{\"type\":\"response\",\"@timestamp\":\"2021-02-24T05:50:32Z\",\"tags\":[],\"pid\":7,\"method\":\"get\",\"statusCode\":302,\"req\":{\"url\":\"/\",\"method\":\"get\",\"headers\":{\"connection\":\"Keep-Alive\",\"proxy-connection\":\"Keep-Alive\",\"host\":\"kibana-entrypoint:5601\",\"x-forwarded-for\":\"49.255.115.150\",\"x-forwarded-proto\":\"http\",\"x-forwarded-port\":\"80\",\"x-amzn-trace-id\":\"Root=1-6035e928-603d67da7eff4225005fdbfc\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9\",\"accept-encoding\":\"gzip, deflate\",\"accept-language\":\"en-GB,en-US;q=0.9,en;q=0.8\"},\"remoteAddress\":\"192.168.1.41\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36\"},\"res\":{\"statusCode\":302,\"responseTime\":7,\"contentLength\":9},\"message\":\"GET / 302 7ms - 9.0B\"}\nuser nginx;\n    worker_processes  1;\n    events {\n      worker_connections  10240;\n    }\n    http {\n      server {\n          listen       8080;\n          server_name  localhost;\n          location /es/ {\n            proxy_pass  http://sample-es-entrypoint:9200/;\n          }\n          location /health {\n            proxy_pass  http://sample-es-entrypoint:9200/_cluster/health;\n          }\n          location /kibana/ {\n            proxy_pass  http://kibana-entrypoint:5601/;\n            proxy_redirect off;\n            proxy_buffering off;\n            proxy_http_version 1.1;\n            proxy_set_header Connection \"Keep-Alive\";\n            proxy_set_header Proxy-Connection \"Keep-Alive\";\n          }\n      }\n    }\n\nThe question is why kibana forward the request?","product":["kibana"],"versions":["5.0"],"lang":"en","answer_count":1,"view_count":2415,"accepted":false,"category":"04-performance-and-load","secondary_categories":["09-upgrades-and-migration","08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-60963579","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60963579/kibana-disable-auto-refresh-option-on-dashboards","posted_at":"2020-04-01T04:11:37.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"GC268DM","score":5,"kind":"question","title":"Kibana disable auto refresh option on dashboards","body":"According to this page\n\nhttps://www.elastic.co/guide/en/kibana/7.x/autorefresh.html\n\nand the last sentence\n\n\n  if auto refresh is not enabled, click Refresh to manually refresh the search results.\n\n\nIt seems like there is a way to disable auto refresh on any dashboard somewhere.\n\nI searched a lot but unfortunately I did not find anything on how to do this.\n\nReason is our clients open the dashboards, configure them to the minimum refresh rate (every 5 seconds) and leave it open all the time (even over night) which causes a constant load on the server.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4885,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-58032009","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58032009/kibana-error-on-startup-incompatible-nodes","posted_at":"2019-09-20T16:20:12.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Ernest Poldrige","score":5,"kind":"question","title":"Kibana error on startup (incompatible nodes)","body":"I started using elastic search 7.3.2 and kibana 6.8.3 on mac os mojave 10.14.5.\n\nWhen kibana starts I got following errors:\nlog   [15:21:03.052] [error][status][plugin:[email protected]] Status changed from yellow to red - This version of Kibana requires Elasticsearch v7.3.2 on all nodes. I found the following incompatible nodes in your cluster: v6.2.4 @ 127.0.0.1:9200 (127.0.0.1)\n  log   [15:21:03.052] [error][status][plugin:[email protected]] Status changed from yellow to red - This version of Kibana requires Elasticsearch v7.3.2 on all nodes. I found the following incompatible nodes in your cluster: v6.2.4 @ 127.0.0.1:9200 (127.0.0.1)\n\nin the past (several years ago) I used version 6.2.4. How can I get those nodes removed ? I do not need them anymore, how can I remove them in order to let kibana starts correctly ?\n\nThanks for any help if any","product":["kibana"],"versions":["7.3.2","6.8.3","10.14.5","6.2.4"],"lang":"en","answer_count":3,"view_count":18163,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-46558739","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46558739/how-to-install-plugin-on-github-to-kibana-running-on-container","posted_at":"2017-10-04T06:55:41.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"kimiya","score":5,"kind":"question","title":"How to install plugin on github to Kibana running on Container","body":"I'd like to install the following plugin to Kibana running on container.\nhttps://github.com/istresearch/kibana-object-format\n\nHowever, as I am new to Kibana, I don't know how to install it. Its readme page says I should refer the official guide page below, but it doesn't help me at all. https://www.elastic.co/guide/en/kibana/current/_installing_plugins.html.\n\nThe plugin is not listed in the known plugin list. So I guess it should be downloaded from github and install it. But I don't know how.\n\nThe images which I am testing now are below.\n\n\ndocker.elastic.co/kibana/kibana:5.6.2\nkibana:5.5.2 \n\n\nAny suggestions or comments would be help. \nThanks,","product":["kibana"],"versions":["5.6.2","5.5.2"],"lang":"en","answer_count":1,"view_count":5107,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["15-plugin-and-ecosystem","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-39690054","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39690054/how-to-create-a-kibana-elasticsearch-scripted-field-programatically","posted_at":"2016-09-25T18:02:22.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"razl","score":5,"kind":"question","title":"How to create a Kibana (Elasticsearch) Scripted Field programatically?","body":"Kibana's UI allows the user to create a scripted field which is stored as part of the index (screenshot below).  How can that be done programatically?  In particular, using either the NEST client or the Elasticsearch low level client.\n\nKibana UI for the Indice with the Scripted Fields tab highlighted\n\nNote that I am not asking how to create add an expression/script field as part of a query, I'm specifically looking for how to add it as part of the Index when the mapping is created so that queries can reference it without having to explicitly include it.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3055,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux","02-discover-and-kql","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-37300524","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37300524/field-used-in-expression-does-not-exist-in-mappings","posted_at":"2016-05-18T13:05:33.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"Paul Andrieux","score":5,"kind":"question","title":"Field [] used in expression does not exist in mappings","body":"The feature I try to fullfit is to create a metric in kibana that display the number of users \"unvalidated\".\nI send a log sent when a user registers, then a log when a user is validated.\n\nSo the count I want is the difference between the number of registered and the number of validated.\n\nIn kibana I cannot do such a math operation, so I found a workaround:\nI added a \"scripted field\" named \"unvalidated\" which is equal to 1 when a user registers and -1 when a user validates his account.\nThe sum of the \"unvalidated\" field should be the number of unvalidated users.\n\nThis is the script I defined in my scripted field:\n\ndoc['ctxt_code'].value == 1 ? 1 : doc['ctxt_code'].value == 2 ? -1 : 0\n\n\nwith:\n\n\nctxt_code 1 as the register log\nctxt_code 2 as the validated log\n\n\nThis setup works well when all my logs have a \"ctxt_code\", but when a log without this field is pushed kibana throws the following error:\n\n\nField [ctxt_code] used in expression does not exist in mappings\n\n\n\nI can't understand this error because kibana says:\n\n\nIf a field is sparse (only some documents contain a value), documents missing the field will have a value of 0\n\n\nwhich is the case.\n\nAnyone has a clue ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1689,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"positive","tags":[]}
{"id":"so-73995622","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73995622/couldnt-configure-elastic-retry-or-update-the-kibana-yml-file-manually","posted_at":"2022-10-08T08:49:59.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"user19200854","score":5,"kind":"question","title":"Couldn&#39;t configure Elastic Retry or update the kibana.yml file manually","body":"I am tring to configure kibana but I get flowing error\nCouldn't configure Elastic Retry or update the kibana.yml file manually. \n\nthis is my /etc/kibana/kibana.yml\n# Kibana is served by a back end server. This setting specifies the port to use.\nserver.port: 5601\nserver.host: '127.0.0.1'\nkibana.index: \".kibana\"\n\n\nelasticsearch.username: \"user\"\n#elasticsearch.password: \"pass\"\nxpack.encryptedSavedObjects.encryptionKey: 706c88e045c127e21b81c902425cdb54\nxpack.reporting.encryptionKey: d67296d7d4958bdd1594e965e6b97ab9\nxpack.security.encryptionKey: d496d7cb6a5983c213f7902767069744\nxpack.encryptedSavedObjects.encryptionKey: 706c88e045c127e21b81c902425cdb54\nxpack.reporting.encryptionKey: d67296d7d4958bdd1594e965e6b97ab9\nxpack.security.encryptionKey: d496d7cb6a5983c213f7902767069744\n\nHow can I fix this error?\nPlease help me.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4112,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-73411763","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73411763/vega-lite-infinite-extent-for-field-field-start-infinity-infinity","posted_at":"2022-08-19T04:13:35.000Z","captured_at":"2026-04-14T13:23:55.540Z","author":"hanzgs","score":5,"kind":"question","title":"vega lite Infinite extent for field &quot;field_start&quot;: [Infinity, -Infinity]","body":"I have code for stacked bar chart, got from Using Vega Lite to display already-aggregated data\nit works in vega editor\n{\n  \"data\": {\n    \"values\": [\n      {\"bin\": \"[-inf,8.0)\", \"bad_distr\": 0.009210526315789473, \"good_distr\": 0.07763157894736843},\n      {\"bin\": \"[8.0,14.0)\", \"bad_distr\": 0.075, \"good_distr\": 0.21842105263157896},\n      {\"bin\": \"[14.0,16.0)\", \"bad_distr\": 0.009210526315789473, \"good_distr\": 0.05394736842105263},\n      {\"bin\": \"[16.0,44.0)\", \"bad_distr\": 0.16052631578947368, \"good_distr\": 0.3236842105263158},\n      {\"bin\": \"[44.0,inf)\", \"bad_distr\": 0.04078947368421053, \"good_distr\": 0.031578947368421054}\n    ]\n  },\n  \"transform\": [\n    {\"fold\": [\"bad_distr\", \"good_distr\"], \"as\": [\"bad\", \"good\"]}\n  ],\n  \"mark\": {\"type\": \"bar\"},\n  \"encoding\": {\n    \"y\": {\"type\": \"ordinal\", \"field\": \"bin\"},\n    \"x\": {\"type\": \"quantitative\", \"field\": \"good\"},\n    \"color\": {\"type\": \"nominal\", \"field\": \"bad\"}\n  }\n}\n\nPlot comes out good\n\nSame data, I have in elastic database,\n\nsame code is throwing warning and plot not coming up\n\n{\n  \"$schema\": \"https://vega.github.io/schema/vega-lite/v2.4.json\",\n  \"title\": {\n    \"text\":  \"Bin Plot\",\n    \"fontSize\":14\n  },\n  \"data\": {\n    \"url\" : {\n        \"index\": \"scorecard_bin_plot\",\n        \"body\": {\n          \"size\":10000,\n          \"_source\": [\"bin\",\"good_distr\",\"bad_distr\"]\n        }\n      }  \n      \"format\": {\"property\": \"hits.hits\"},\n  },\n  \"transform\": [\n    {\"fold\": [\"_source.bad_distr\", \"_source.good_distr\"], \"as\": [\"bad\", \"good\"]}\n  ],\n  \"mark\": {\"type\": \"bar\"},\n  \"encoding\": {\n    \"y\": {\"type\": \"ordinal\", \"field\": \"_source.bin\"},\n    \"x\": {\"type\": \"quantitative\", \"field\": \"good\"},\n    \"color\": {\"type\": \"nominal\", \"field\": \"bad\"}\n  }\n}\n\nI don't understand the issue\nUsing elastic and kibana 7.12.0","product":["kibana"],"versions":["8.0","14.0","16.0","7.12.0"],"lang":"en","answer_count":1,"view_count":3079,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-72167541","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72167541/update-fluent-bit-parsing-json-log-as-a-text","posted_at":"2022-05-09T06:00:26.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Raushan","score":5,"kind":"question","title":"Update: Fluent bit parsing JSON log as a text","body":"I'm sending logs to ES with fluentd. App logs are in JSON format. Here is one of them\n{\"@timestamp\":\"2022-05-06T06:02:10.669Z\", \"log.level\": \"INFO\", \"message\":\"INFO Health check ok\", \"ecs.version\": \"1.2.0\",\"service.name\":\"spring-boot-application\",\"event.dataset\":\"spring-boot-application\",\"process.thread.name\":\"http-nio-9001-exec-7\",\"log.logger\":\"com.app.designer.rules.controller.RulesController\",\"transaction.id\":\"15e36b5ef6cc69dd\",\"trace.id\":\"fd275718e25c061d309954773985b101\"}\n\nIn Kibana, i can see the logs\n\nJSON log is a value of log key.\nBut, we want JSON Log key value, as Field and Value\nPlease suggest.\nfluent bit config map is:\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: fluent-bit-designer\ndata:\n  fluent-bit-service.conf: |\n    [SERVICE]\n        Flush        1\n        Daemon       Off\n        Log_Level    error\n        Parsers_File parsers.conf\n\n  fluent-bit-input.conf: |\n    [INPUT]\n        Name              tail\n        Path              /app/logs/designer-logs.log.json\n        Multiline         On\n        Parser_Firstline  multiline_pattern\n        Refresh_Interval  5\n        Mem_Buf_Limit     5MB\n        Skip_Long_Lines   On\n        Path_key          FileName\n\n  fluent-bit-filter.conf: |\n    [FILTER]\n        Name    modify\n        Match   *\n        Add     PodName ${POD_NAME}\n        Add     Namespace ${NAMESPACE_NAME}\n\n  fluent-bit-output.conf: |\n    [OUTPUT]   \n       Name    forward\n       Match   *\n       Host    {{ .Values.efkCluster }}-fluentd-aggregator.{{ .Values.efkCluster }}\n       Port    24224\n\n\n  fluent-bit.conf: |\n    @INCLUDE fluent-bit-service.conf\n    @INCLUDE fluent-bit-input.conf\n    @INCLUDE fluent-bit-filter.conf\n    @INCLUDE fluent-bit-output.conf\n\n  parsers.conf: |\n    [PARSER]\n        Name         multiline_pattern\n        Format       regex\n        Regex        ^\\[(?<LogDate>\\d{2}\\-\\d{2}\\-\\d{2} \\d{2}\\:\\d{2}\\:\\d{2}\\.\\d{3}\\+\\d{4})\\] (?<LogLevel>[^ ]*) * (?<Thread>\\S+) (?<Username>[^\\s]*?) (?<Logger>[A-Za-z0-9$_.]+) -(\\r\\n|\\r|\\n)*(?<Message>.*)\n        time_key     LogDate\n        time_format  %d-%m-%y %H:%M:%S.%L%z","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7315,"accepted":false,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-59729535","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59729535/disable-tooltip-labels-being-truncated-increasing-tooltip-character-limit-when-u","posted_at":"2020-01-14T07:56:41.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"dasherzx","score":5,"kind":"question","title":"Disable tooltip labels being truncated/increasing tooltip character limit when using vega-lite","body":"Im creating a visualization in kibana using vega-lite, but I suppose this applies anywhere. Is there a way in vega-lite to disable, or at least increase the character length of the tooltip so that it is not truncated? I can't find any documentation or links about this. Thanks.\nThe following is a rough example. I'd like the tooltip to show the full length of 'aaaaabbbcccc' instead of it being automatically truncated to 'aaabbbc...'\n\n{\n  \"$schema\": \"https://vega.github.io/schema/vega-lite/v4.json\",\n  \"data\": {\n    \"values\": [\n      {\"a\": \"AAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCC\", \"b\": 28},\n      {\"a\": \"B\", \"b\": 55},\n      {\"a\": \"C\", \"b\": 43},\n      {\"a\": \"D\", \"b\": 91},\n      {\"a\": \"E\", \"b\": 81},\n      {\"a\": \"F\", \"b\": 53},\n      {\"a\": \"G\", \"b\": 19},\n      {\"a\": \"H\", \"b\": 87},\n      {\"a\": \"I\", \"b\": 52}\n    ]\n  },\n  \"mark\": \"bar\",\n  \"encoding\": {\n    \"x\": {\"field\": \"a\", \"type\": \"ordinal\"},\n    \"y\": {\"field\": \"b\", \"type\": \"quantitative\"},\n    \"tooltip\": [\n      {\"field\": \"a\", \"type\": \"ordinal\"},\n      {\"field\": \"b\", \"type\": \"quantitative\"}\n    ]\n  },\n   \"config\": {\n    \"view\": {\"stroke\": \"transparent\"},\n    \"axis\": {\n      \"labelColor\": \"#98A2B3\",\n      \"grid\": false,\n      \"labelLimit\": 100\n    }\n  }\n}\n\n\nOnline editor","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":530,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","03-visualization-quality"],"sentiment":"positive","tags":[]}
{"id":"so-56927503","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56927503/how-to-query-aws-elasticsearch-with-sql","posted_at":"2019-07-08T01:50:49.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"SamuelKDavis","score":5,"kind":"question","title":"How to query AWS ElasticSearch with SQL","body":"AWS documentation here indicates SQL querying is supported: https://aws.amazon.com/about-aws/whats-new/2019/05/amazon-elasticsearch-service-sql-support/\n\nThis page shows the syntax:\nhttps://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/sql-support.html\n\nPOST elasticsearch_domain/_opendistro/_sql\n{\n  \"query\": \"SELECT * FROM my-index LIMIT 50\"\n}\n\n\nRunning the following command in the Kibana Dev Tools\n\nPOST my_domain/_opendistro/_sql\n{\n  \"query\": \"SELECT * FROM my-index LIMIT 50\"\n}\n\n\nGives the error\n\n{\n  \"error\": {\n    \"root_cause\": [\n      {\n        \"type\": \"invalid_type_name_exception\",\n        \"reason\": \"Document mapping type name can't start with '_', found: [_opendistro]\"\n      }\n    ],\n    \"type\": \"invalid_type_name_exception\",\n    \"reason\": \"Document mapping type name can't start with '_', found: [_opendistro]\"\n  },\n  \"status\": 400\n}\n\n\nMy ElasticSearch version is 6.7.","product":["kibana"],"versions":["6.7"],"lang":"en","answer_count":1,"view_count":1892,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["02-discover-and-kql","05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-50580474","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50580474/connecting-to-vpc-based-kibana-using-aws-cognito","posted_at":"2018-05-29T09:08:54.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Martin","score":5,"kind":"question","title":"Connecting to VPC-based Kibana using AWS Cognito","body":"I'm a beginner to AWS and a bit confused regarding the AWS Cognito system.\n\nI have an AWS Elasticsearch service behind a VPC. I'm trying to access the Kibana endpoint using AWS Cognito, but when I navigate to the log in screen I see a blank page.\n\nIs what I'm trying to do feasible or do I need to VPN first into the VPC in order to get to the log in screen? If so, how can I grant public users access to Kibana (without the trouble of a VPN?) Would a better solution be to have a reverse proxy point to Kibana and couple this with AWS Cognito? Thanks for your help.\n\nNote: I'm using Elasticsearch 6.2","product":["kibana"],"versions":["6.2"],"lang":"en","answer_count":2,"view_count":3181,"accepted":false,"category":"14-siem-and-security","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-49636829","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49636829/how-to-filter-the-aggregation-results-in-kibana-elastic-search","posted_at":"2018-04-03T18:26:12.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Enayat","score":5,"kind":"question","title":"How to filter the aggregation results in Kibana (elastic search)?","body":"I want to filter the elastic search aggregation results in Kibana (v6.2). For example, I want to show only sum of hours those that are more than 100 (like HAVING command in SQL). I know that we can filter the results in filter section over other fields, but I don't know how to apply the filter on aggregation functions. I tried to use post_filter in filter section in Kibana, but it didn't work. \nAny ideas?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7518,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-33933818","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33933818/nested-objects-aggregations-with-kibana","posted_at":"2015-11-26T08:33:47.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Exinferis","score":5,"kind":"question","title":"Nested Objects aggregations (with Kibana)","body":"We got an Elasticsearch index containing documents with a subset of arbitrary nested object called devices. Each of those devices has a key call \"aw\". \nWhat I try to accomplish, is to get an average of the aw key for each device type.\nWhen trying to aggregate and visualize this average I don't get the average of the aw of every device type, but of all devices within the documents containing the specific device.\n\nSo instead of fetching all documents where device.id=7 and aggregating the awper device.id, Elasticsearch / Kibana fetches all documents containing device.id=7 but then builds it's average using all devices within the documents.\n\nOut index mapping looks like this (only important parts):\n\n\"mappings\" : {\n        \"devdocs\" : {\n            \"_all\": { \"enabled\": false },\n            \"properties\" : {\n                \"cycle\": {\n                    \"type\": \"object\",\n                    \"properties\": {\n                        \"t\": {\n                            \"type\": \"date\",\n                            \"format\": \"dateOptionalTime||epoch_second\"\n                        }\n                    }\n                },\n                \"devices\": {\n                    \"type\": \"nested\",\n                    \"include_in_parent\": true,\n                    \"properties\": {\n                        \"name\": {\n                            \"type\": \"string\",\n                            \"index\": \"not_analyzed\"\n                        },\n                        \"aw\": {\n                            \"type\": \"long\"\n                        }\n                        \"t\": {\n                            \"type\": \"date\",\n                            \"format\": \"dateOptionalTime||epoch_second\"\n                        },\n\n                    }\n                }\n\n            }\n        }\n\n\nKibana generates the following query:\n\n{\n  \"size\": 0,\n  \"query\": {\n    \"filtered\": {\n      \"query\": {\n        \"query_string\": {\n          \"analyze_wildcard\": true,\n          \"query\": \"*\"\n        }\n      },\n      \"filter\": {\n        \"bool\": {\n          \"must\": [\n            {\n              \"range\": {\n                \"cycle.t\": {\n                  \"gte\": 1290760324744,\n                  \"lte\": 1448526724744,\n                  \"format\": \"epoch_millis\"\n                }\n              }\n            }\n          ],\n          \"must_not\": []\n        }\n      }\n    }\n  },\n  \"aggs\": {\n    \"2\": {\n      \"terms\": {\n        \"field\": \"devices.name\",\n        \"size\": 35,\n        \"order\": {\n          \"1\": \"desc\"\n        }\n      },\n      \"aggs\": {\n        \"1\": {\n          \"avg\": {\n            \"field\": \"devices.aw\"\n          }\n        }\n      }\n    }\n  }\n}\n\n\nIs there a way to aggregate the average aw on device level, or what am I doing wrong?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":3821,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-74998614","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/74998614/can-i-change-the-index-pattern-for-a-visualization-in-opensearch","posted_at":"2023-01-03T20:59:40.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Leopd","score":5,"kind":"question","title":"Can I change the index pattern for a visualization in OpenSearch","body":"OpenSearch is a fork of ElasticSearch, which includes things like Kibana built in.  According to this question Can I change the index pattern of a visualization in Kibana? in Kibana it was possible using some clever backend to change the index pattern used by a visualization.  AFAICT, this technique no longer works in current OpenSearch builds.\nDoes anybody know if this is possible without rebuilding the visualizations?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":680,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load","15-plugin-and-ecosystem","01-dashboard-authoring"],"sentiment":"negative","tags":[]}
{"id":"so-51876291","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51876291/version-control-kibana-saved-objects","posted_at":"2018-08-16T11:45:25.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"matsev","score":5,"kind":"question","title":"Version control Kibana Saved Objects?","body":"How can I automate version control of Kibana Saved Objects in an AWS environment?\n\nI have an Elasticsearch domain hosted on AWS and I have configured Kibana to visualize the data. Now, I would like to version control the Kibana configuration for several reasons:\n\n\nTo have a consistent configuration across different environments (dev, stage, prod)\nDisaster recovery in case the Elasticsearch domain is deleted\nTo be able to upgrade the Elasticsearch cluster to the latest version (I cannot use the AWS console to upgrade Elasticsearch as suggested in the AWS developer guide, since the Elasticsearch domain is part of a CloudFormation stack. Moreover, according to the CloudFormation user Guide, updating the ElasticsearchVersion requires replacement, hence the need for version control).\n\n\n\n\nThe only solution that I have found so far includes several manual steps:\n\nBackup:\n\n\nLogon to your first Kibana environment\nSelect the Saved Objects tab in the Kibana management console\nPress the Export Everything button\nAdd the downloaded .json file to version control\n\n\nRestore:\n\n\nLogon to the second Kibana environment\nSelect Index Patterns tab in the Kibana management console\nRe-create the index patterns that are required for the visualizations (see the last warning in the Kibana user guide)\nSelect the Saved Objects tab in the Kibana management console\nPress the Import button and upload the .json file that was version controlled\nRe-map each index pattern (since the ones stored in the .json file originates from the first Kibana environment does not exist in the second environment)\nDone(?)\n\n\nHow can this be automated?\n\nCurrent environment:\n\n\nElasticsearch version 6.2.3\nKibana version 6.2.3","product":["kibana"],"versions":["6.2.3"],"lang":"en","answer_count":0,"view_count":1363,"accepted":false,"category":"09-upgrades-and-migration","secondary_categories":["05-index-patterns-data-views","01-dashboard-authoring","06-sharing-and-export"],"sentiment":"neutral","tags":["saved-objects"]}
{"id":"so-48088139","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48088139/how-to-validate-elasticsearch-painless-scripts","posted_at":"2018-01-04T03:10:25.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Sunil Purushothaman","score":5,"kind":"question","title":"How to validate Elasticsearch Painless scripts?","body":"We use many ScriptQuery and ScriptField in our project, and provide inline scripts for them in painless language. \n\nMy question is, how can we validate these painless scripts? In other words, how to make sure that they will compile?\n\nThe approach we use today is to test them out locally through Kibana. However, this is manual, error prone and not scalable. I am looking for a programmatic way or utility to validate painless scripts, so that I can plug it into the CI/CD pipeline. \nIs the compiler Elasticsearch uses under the hood open source ? Or is there some other way?  \n\nElasticsearch version 5.4\n\nSample Query in Kibana with Painless script used for ScriptField and ScriptQuery\n\nGET myIndex/_search\n{\n  \"script_fields\": {\n    \"LastName\": {\n      \"script\": {\n        \"inline\": \"if(doc['Author']!= null && doc['Author'].value != null){return doc['Author'].value.toUpperCase();}return null;\",\n        \"lang\": \"painless\"\n      }\n    }\n  },\n  \"query\": {\n    \"bool\": {\n      \"must_not\": [\n        {\n          \"bool\": {\n            \"must\": [\n              {\n                \"script\": {\n                  \"script\": {\n                    \"inline\": \"def lastName = '';if(doc['Author']!= null && doc['Author'].value != null){lastName = doc['Author'].value.toUpperCase();}if(doc.containsKey('LastName') && doc['LastName']!= null && doc['LastName'].value != null){lastName = doc['LastName'].value;}return (lastName.toLowerCase().startsWith(params.SearchParam.toLowerCase()));\",\n                    \"lang\": \"painless\",\n                    \"params\": {\n                      \"SearchParam\": \"d\"\n                    }\n                  }\n                }\n              }\n            ]\n          }\n        }\n      ]\n    }\n  }\n}","product":["kibana"],"versions":["5.4"],"lang":"en","answer_count":4,"view_count":11089,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-47353956","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47353956/elastic-kibana-how-to-plot-error-bars","posted_at":"2017-11-17T15:22:31.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"ximiki","score":5,"kind":"question","title":"Elastic Kibana - how to plot error bars","body":"I am trying to plot error bars to a Kibana (Elastic ELK visualization software) plot. I tried to play around with Kibana to see what I can get, but I couldn't get it to work. When I search the web, I don't get a single hit (web page, or previously asked question) for this problem.\n\nIs this capability even possible in Kibana? If so, how?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":576,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-46196037","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46196037/kibana-coordinate-map-could-not-retrieve-manifest-from-the-tile-service-stat","posted_at":"2017-09-13T11:13:33.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"D.Todd","score":5,"kind":"question","title":"kibana : Coordinate Map: Could not retrieve manifest from the tile service: status -1","body":"i'v use kibana5 to learn,when i read to this \"enter link description here\" using a coordinate map chart to visualize geographic information,\nthe waring occur \"Coordinate Map: Could not retrieve manifest from the tile service: status -1\" \nhow can i solve it?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1349,"accepted":false,"category":"12-maps-and-geo","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-42256895","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42256895/kibana-create-multiple-charts-using-queries-from-list","posted_at":"2017-02-15T18:02:56.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"sagibu","score":5,"kind":"question","title":"Kibana create multiple charts using queries from list","body":"I'm trying to create multiple charts in kibana using values from a list in a query.\n\nFor example assume I have a list of cities that sends messages between them (to one or more other cities):\n\ncities: [Moscow London Paris Munich]\n\n\nEach city is sending messages to other cities, those messages can get to their destination or get lost.\n\nfor each city I have data of which messages it sent and which of them got to the destination, e.g:\n\nLondon sent:\ndate, destination, received\n15.2, [Moscow Paris], [Paris]\n14.2, [Moscow Paris Munich], [Paris Munich]\n\n\nNow I want to create the following charts - While \"investigating\" a specific city, i want to display message delivery success rate.\n\nFor example, while investigating London, i want these charts\n\npercentage of succesfull deliveries from London to Paris as function of date\npercentage of succesfull deliveries from London to Moscow as function of date\n\n\nand so on, same for each other city\n\nThe graphs I'm expecting to see are something like this:\n\n\n\nI'm using Kibana 4.2, is it possible doing?\n\nThanks","product":["kibana"],"versions":["15.2","14.2"],"lang":"en","answer_count":1,"view_count":406,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-37850262","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37850262/convert-a-pipelined-aggregation-with-scripting-to-kibana","posted_at":"2016-06-16T05:05:01.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"shrewquest","score":5,"kind":"question","title":"Convert a pipelined aggregation with scripting to kibana","body":"Can pipeline aggregations in elasticsearch be converted to a graph on kibana 4?\n\nFor e.g in the docs \"t-shirt-percentage\" example\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-script-aggregation.html\n\nUpdates :\nFound that this is not yet supported -\nhttps://discuss.elastic.co/t/kibana-4-2-beta-release-and-elastic-2-0-beta-pipeline-aggregations/28383\n\nWhat's the alternative to achieve the same (pipeline aggregations) using Kibana 4 and ES 1.7.4 ?","product":["kibana"],"versions":["7.4"],"lang":"en","answer_count":0,"view_count":1260,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-31562789","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31562789/pretty-way-of-displaying-array-and-array-of-objects-in-kibana","posted_at":"2015-07-22T12:12:15.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"tejas_spy007","score":5,"kind":"question","title":"Pretty way of displaying array and array of objects in kibana","body":"I am new to kibana and I have just completed building a dashboard in kibana with elasticsearch data.\nThe array and array of objects in kibana are just showed stringified and not in a pretty way.\n\nExample of Array:\n\n\"tags\": [\n        \"Anthem\",\n        \"Healthcare\"\n      ]\n\n\nBut in kibana is shown in the following way\n\n[\"Anthem\",\"Healthcare\"]\n\n\nExample of Array of objects\n\n  \"observations\": [\n      {\n        \"category\": [\n          \"phishing\"\n        ],\n        \"impact\": \"phishing url\",\n        \"observedAt\": 1406564412,\n        \"description\": \"Phishing Other\",\n        \"sourceConfidence\": 7,\n        \"source\": \"phishtank.com\",\n        \"sourceMaliciousness\": \"medium\"\n      }\n    ],\n\n\nBut in kibana is shown in the following way\n\n{\"category\":[\"phishing\"],\"impact\":\"phishing url\",\"observedAt\":1406564412,\"description\":\"Phishing Other\",\"sourceConfidence\":7,\"source\":\"phishtank.com\",...\n\n\nI want to display tags as clickable anchors which trigger a new search or atleast in a prettier way than just showing an array.\nIs there any way this can be achieved ?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1275,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-40492232","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40492232/calculate-session-duration-in-kibana","posted_at":"2016-11-08T16:45:49.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Mahoni","score":5,"kind":"question","title":"Calculate session duration in Kibana","body":"With Kibana I have managed to visualize continious requests in a linear chart by:\n\n\nusing a line chart\nY-axis: Aggregation: Count\nX-axis: Date Histogram with field @timestamp\nSplit Lines: Sub Aggregation: Terms Field IP address\n\n\nNow I would like to get the average, minimum and maximum session duration out of this. Is this possible, I haven't quite figured out the right approach to take it from here.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1276,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-47883832","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/47883832/restrict-some-kibana-users-in-a-particular-dashboard","posted_at":"2017-12-19T09:32:17.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"UtkarshaG","score":5,"kind":"question","title":"Restrict some kibana users in a particular dashboard","body":"I want to restrict some users in kibana, that users only able to access particular dashboards in Kibana.\nI am using kibana version 6.0.0 . Currently I am using Searchguard for user authentication but can't able to restrict user on dashboard . Below is my current elasticsearch.yml file\n\n# ======================== Elasticsearch Configuration =========================\n#\n# NOTE: Elasticsearch comes with reasonable defaults for most settings.\n#       Before you set out to tweak and tune the configuration, make sure you\n#       understand what are you trying to accomplish and the consequences.\n#\n# The primary way of configuring a node is via this file. This template lists\n# the most important settings you may want to configure for a production cluster.\n#\n# Please consult the documentation for further information on configuration options:\n# https://www.elastic.co/guide/en/elasticsearch/reference/index.html\n#\n# ---------------------------------- Cluster -----------------------------------\n#\n# Use a descriptive name for your cluster:\n#\n#cluster.name: my-application\n#\n# ------------------------------------ Node ------------------------------------\n#\n# Use a descriptive name for the node:\n#\n#node.name: node-1\n#\n# Add custom attributes to the node:\n#\n#node.attr.rack: r1\n#\n# ----------------------------------- Paths ------------------------------------\n#\n# Path to directory where to store the data (separate multiple locations by comma):\n#\n#path.data: /path/to/data\n#\n# Path to log files:\n#\n#path.logs: /path/to/logs\n#\n# ----------------------------------- Memory -----------------------------------\n#\n# Lock the memory on startup:\n#\n#bootstrap.memory_lock: true\n#\n# Make sure that the heap size is set to about half the memory available\n# on the system and that the owner of the process is allowed to use this\n# limit.\n#\n# Elasticsearch performs poorly when the system is swapping the memory.\n#\n# ---------------------------------- Network -----------------------------------\n#\n# Set the bind address to a specific IP (IPv4 or IPv6):\n#\n#network.host: 192.168.0.1\n#\n# Set a custom port for HTTP:\n#\n#http.port: 9200\n#\n# For more information, consult the network module documentation.\n#\n# --------------------------------- Discovery ----------------------------------\n#\n# Pass an initial list of hosts to perform discovery when new node is started:\n# The default list of hosts is [\"127.0.0.1\", \"[::1]\"]\n#\n#discovery.zen.ping.unicast.hosts: [\"host1\", \"host2\"]\n#\n# Prevent the \"split brain\" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):\n#\n#discovery.zen.minimum_master_nodes: 3\n#\n# For more information, consult the zen discovery module documentation.\n#\n# ---------------------------------- Gateway -----------------------------------\n#\n# Block initial recovery after a full cluster restart until N nodes are started:\n#\n#gateway.recover_after_nodes: 3\n#\n# For more information, consult the gateway module documentation.\n#\n# ---------------------------------- Various -----------------------------------\n#\n# Require explicit names when deleting indices:\n#\n#action.destructive_requires_name: true\n\n#action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*\n\n\n\n######## Start Search Guard Demo Configuration ########\nsearchguard.ssl.transport.keystore_filepath: keystore.jks\nsearchguard.ssl.transport.truststore_filepath: truststore.jks\nsearchguard.ssl.transport.enforce_hostname_verification: false\nsearchguard.ssl.http.enabled: true\nsearchguard.ssl.http.keystore_filepath: keystore.jks\nsearchguard.ssl.http.truststore_filepath: truststore.jks\nsearchguard.authcz.admin_dn:\n- \"CN=kirk,OU=client,O=client,L=test, C=de\"\n- \"CN=node-0.example.com, OU=SSL, O=Test, L=Test, C=DE\"\n#searchguard.restapi.roles_enabled: [\"sg_all_access\"]\n\n\ncluster.name: searchguard_demo\nnetwork.host: 0.0.0.0\n######## End Search Guard Demo Configuration ########\n\n\nPlease do let me know if anyone having some idea.","product":["kibana"],"versions":["6.0.0"],"lang":"en","answer_count":2,"view_count":2125,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["07-alerting-and-watcher","10-docs-and-ux","01-dashboard-authoring"],"sentiment":"neutral","tags":["alerting"]}
{"id":"so-56664187","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56664187/how-can-i-clone-dashboard-and-visualizations","posted_at":"2019-06-19T09:18:33.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Piotr Perak","score":4,"kind":"question","title":"How can I clone dashboard and visualizations?","body":"While working on new version of dashboards I need to leave previous versions unchanged. So I need to clone existing dashboard and save it as original name  with some postfix - for example v.2.\n\nI know there is possibility to clone dashboard in Kibana but it clones dashboard only. Meaning there will be two dashboard that will share same visualizations.\n\nIs there an automatic way to clone visualizations too and make new cloned dashboard use those cloned visualizations?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11000,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-40277846","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40277846/linking-kibana-with-elasticsearch","posted_at":"2016-10-27T06:41:28.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Richie","score":4,"kind":"question","title":"linking kibana with elasticsearch","body":"I have the following docker containers running on my box...\n\nCONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS              PORTS                              NAMES\n5da7523e527b        kibana              \"/docker-entrypoint.s\"   About a minute ago   Up About a minute   0.0.0.0:5601->5601/tcp             elated_lovelace\n20aea0e545ca        elasticsearch       \"/docker-entrypoint.s\"   3 hours ago          Up 3 hours          0.0.0.0:9200->9200/tcp, 9300/tcp   sad_meitner\n\n\nMy aim was to get kibana to link to my elasticsearch container however when I hit kibana it's telling me that I do not have any document stores. I know this is not right because I definitely have documents in elasticsearch. I'm guessing my link command is wrong.\n\nThis is the docker command I used to start the kibana container.\n\ndocker run -p 5601:5601 --link sad_meitner:elasticsearch -d kibana \n\n\nCan someone tell me what I've done wrong? \n\nthanks","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5467,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-37949874","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37949874/kibana-service-not-running","posted_at":"2016-06-21T16:29:41.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Kunok","score":4,"kind":"question","title":"kibana service not running","body":"I am trying to install Elastic search, Nginx, Kibana and Sense. \n\nI am following this guide:\nhttps://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04\n\nI successfully installed Elastic search.\n\nHowever I am stuck at Kibana.\n\nI successfully followed all steps however:\n\nroot@dev:~# service kibana start\nkibana started\nroot@dev:~# service kibana status\nkibana is not running\n\n\nWhen I run kibana service it says it started, and after that when I want to check if kibana is running, it says it is not running.\n\nIf more details are needed for this question to be answered, comment and I will provide it.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":19230,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-49623598","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49623598/how-to-change-the-port-number-for-docker-image-of-kibana","posted_at":"2018-04-03T06:30:11.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"nikita kakraniya","score":4,"kind":"question","title":"How to change the port number for Docker image of Kibana","body":"I am running Kibana using Docker\n\nBelow is the docker-compose that I am using for running Kibana Fluentd and Elastic-Search.\n\nversion: '2'\nservices:\n  elasticsearch:\n    image: elasticsearch\n    expose:\n      - 9200\n    ports:\n      - \"9200:9200\"\n    networks:\n      - cloud      \n\n\n  fluentd:\n    build: ./fluentd\n    volumes:\n      - ./fluentd/conf:/fluentd/etc\n    links:\n      - \"elasticsearch\"\n    ports:\n      - \"24224:24224\"\n      - \"24224:24224/udp\"\n    networks:\n      - cloud  \n\n\n  kibana:\n    image: kibana\n    links:\n      - \"elasticsearch\"\n    ports:\n      - \"9201:5601\"\n    networks:\n      - cloud\n\nnetworks:\n  cloud:\n   driver: bridge  \n\n\nMy Problem statement is as below:\n\nI want to run the Kibana on 9201 port. I have mention the same in docker-compose.yml \nstill It get run on its default port 5601\n\n\n\nPlease Let me know what changes I need to do for running Kibana on 9201","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":6938,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-32222491","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/32222491/extract-specific-time-field-from-timestamp-in-logstash","posted_at":"2015-08-26T09:12:39.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Bertofer","score":4,"kind":"question","title":"Extract specific time field from timestamp in logstash","body":"I have an automatically generated @timestamp with the default format. What i would like is to extract the hour/month/weekday of the timestamp putting it in another field.\n\nFor example, now my timestamp looks like that:\n\n@timestamp: \"2015-08-26T09:04:42.284Z\"\n\n\nIs there any way to get the following fields?\n\n\nhour: 09 (or 9)? In Number format.\nmonth: 08(or 8, or Aug, August...) Number or string format.\nweekday: Mon, Tue, Wed, ...\n\n\nI want it to make a kibana4 Histogram based on the hour/day of connections, with an average metric. If there's a different way to achieve that, please tell me!\n\nI've searched all the web for that, but I couldn't find any solution. I would appreciate any help on this.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":6219,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-61538023","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61538023/kibana-does-not-show-data-from-frozen-indexes-in-search-discover-of-elasticsearc","posted_at":"2020-05-01T06:44:43.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"arberg","score":4,"kind":"question","title":"Kibana does not show data from frozen indexes in search/Discover of ElasticSearch","body":"When I search a time-period last august where I only have frozen index-data, kibana finds no matches. \nWhen I unfreeze one of the-augest-indexes Kibana Discover finds the data. If I freeze it again, no data again.\nI'm using ELKStack 7.5.2.\n\nWhat gives?\n\nAccording to docs they should be searchable. I'm pretty sure no other queries are running, so it cannot be the frozen-search limit by search_throttled (well unless its zero or some weird thing).","product":["kibana"],"versions":["7.5.2"],"lang":"en","answer_count":1,"view_count":2520,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-40740694","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40740694/x-pack-failed-to-initialize-a-trustmanagerfactory","posted_at":"2016-11-22T11:29:05.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Karoline Brynildsen","score":4,"kind":"question","title":"X-pack failed to initialize a TrustManagerFactory","body":"I have set up Elasticsearch, Kibana and X-pack according to installation guidelines and made sure that it worked as expected.\nNow I want to send a Kibana report using Watchers in X-Pack. I have followed this tutorial to setup secure reporting, but after adding the watcher truststore to elasticsarch.yml I get this error message when I try to start elastic:\n\n[2016-11-22T12:19:57,111][INFO ][o.e.e.NodeEnvironment    ] [CBeNcdh] using [1] data paths, mounts [[OS (c:)]], net usable_space [72.3gb], net total_space [223.5gb], spins? [unknown], types [NTFS]\n[2016-11-22T12:19:57,115][INFO ][o.e.e.NodeEnvironment    ] [CBeNcdh] heap size [1.9gb], compressed ordinary object pointers [true]\n[2016-11-22T12:19:57,354][INFO ][o.e.n.Node               ] [CBeNcdh] node name [CBeNcdh] derived from node ID; set [node.name] to override\n[2016-11-22T12:19:57,358][INFO ][o.e.n.Node               ] [CBeNcdh] version[5.0.1], pid[15948], build[080bb47/2016-11-11T22:08:49.812Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]\n[2016-11-22T12:19:58,618][ERROR][o.e.b.Bootstrap          ] Exception\norg.elasticsearch.ElasticsearchException: Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:462) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:414) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:144) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.Command.main(Command.java:62) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) [elasticsearch-5.0.1.jar:5.0.1]\nCaused by: java.lang.reflect.InvocationTargetException\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 14 more\nCaused by: org.elasticsearch.ElasticsearchException: failed to initialize a TrustManagerFactory\n    at org.elasticsearch.xpack.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:57) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.createSslContext(SSLService.java:387) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.loadSSLConfigurations(SSLService.java:423) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.<init>(SSLService.java:78) ~[?:?]\n    at org.elasticsearch.xpack.XPackPlugin.<init>(XPackPlugin.java:181) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 14 more\nCaused by: java.security.AccessControlException: access denied (\"java.io.FilePermission\" \"C:\\tmp\\watcher-truststore.jks\" \"read\")\n    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:1.8.0_111]\n    at java.security.AccessController.checkPermission(AccessController.java:884) ~[?:1.8.0_111]\n    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) ~[?:1.8.0_111]\n    at java.lang.SecurityManager.checkRead(SecurityManager.java:888) ~[?:1.8.0_111]\n    at sun.nio.fs.WindowsChannelFactory.open(WindowsChannelFactory.java:293) ~[?:?]\n    at sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:162) ~[?:?]\n    at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:225) ~[?:?]\n    at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_111]\n    at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_111]\n    at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_111]\n    at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_111]\n    at org.elasticsearch.xpack.ssl.CertUtils.trustManager(CertUtils.java:162) ~[?:?]\n    at org.elasticsearch.xpack.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:55) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.createSslContext(SSLService.java:387) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.loadSSLConfigurations(SSLService.java:423) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.<init>(SSLService.java:78) ~[?:?]\n    at org.elasticsearch.xpack.XPackPlugin.<init>(XPackPlugin.java:181) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 14 more\n[2016-11-22T12:19:58,626][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]\norg.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]]; nested: InvocationTargetException; nested: ElasticsearchException[failed to initialize a TrustManagerFactory]; nested: AccessControlException[access denied (\"java.io.FilePermission\" \"C:\\tmp\\watcher-truststore.jks\" \"read\")];\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:116) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-5.0.1.jar:5.0.1]\nCaused by: org.elasticsearch.ElasticsearchException: Failed to load plugin class [org.elasticsearch.xpack.XPackPlugin]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:462) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:414) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:144) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 6 more\nCaused by: java.lang.reflect.InvocationTargetException\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:414) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:144) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 6 more\nCaused by: org.elasticsearch.ElasticsearchException: failed to initialize a TrustManagerFactory\n    at org.elasticsearch.xpack.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:57) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.createSslContext(SSLService.java:387) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.loadSSLConfigurations(SSLService.java:423) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.<init>(SSLService.java:78) ~[?:?]\n    at org.elasticsearch.xpack.XPackPlugin.<init>(XPackPlugin.java:181) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:414) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:144) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 6 more\nCaused by: java.security.AccessControlException: access denied (\"java.io.FilePermission\" \"C:\\tmp\\watcher-truststore.jks\" \"read\")\n    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:1.8.0_111]\n    at java.security.AccessController.checkPermission(AccessController.java:884) ~[?:1.8.0_111]\n    at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) ~[?:1.8.0_111]\n    at java.lang.SecurityManager.checkRead(SecurityManager.java:888) ~[?:1.8.0_111]\n    at sun.nio.fs.WindowsChannelFactory.open(WindowsChannelFactory.java:293) ~[?:?]\n    at sun.nio.fs.WindowsChannelFactory.newFileChannel(WindowsChannelFactory.java:162) ~[?:?]\n    at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:225) ~[?:?]\n    at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_111]\n    at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_111]\n    at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_111]\n    at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_111]\n    at org.elasticsearch.xpack.ssl.CertUtils.trustManager(CertUtils.java:162) ~[?:?]\n    at org.elasticsearch.xpack.ssl.StoreTrustConfig.createTrustManager(StoreTrustConfig.java:55) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.createSslContext(SSLService.java:387) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.loadSSLConfigurations(SSLService.java:423) ~[?:?]\n    at org.elasticsearch.xpack.ssl.SSLService.<init>(SSLService.java:78) ~[?:?]\n    at org.elasticsearch.xpack.XPackPlugin.<init>(XPackPlugin.java:181) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111]\n    at org.elasticsearch.plugins.PluginsService.loadPlugin(PluginsService.java:451) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:414) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:144) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:281) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.node.Node.<init>(Node.java:220) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.1.jar:5.0.1]\n    at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.1.jar:5.0.1]\n    ... 6 more\n\n\nI'm running cmd as administrator and the truststore file have the permissions needed for elastic to read it. I do not understand why this error is happening, can anyone please help me?\n\nThis is the options added to my elasticsearch.yml file:\n\nxpack.security.http.ssl.truststore.path: C:\\tmp\\watcher-truststore.jks\nxpack.security.http.ssl.truststore.password: <truststorepw>\n\n\nAnd my kibana.yml file:\n\nserver.ssl.key: C:\\tmp\\kibana.local.key\nserver.ssl.cert: C:\\tmp\\kibana.local.crt\n\nxpack.security.encryptionKey: \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"\n\n\nIf I remove the truststore settings from elasticsearch.yml, I can start both elastic and kibana and kibana is running on https.","product":["kibana"],"versions":["5.0.1","10.0"],"lang":"en","answer_count":1,"view_count":7132,"accepted":true,"category":"07-alerting-and-watcher","secondary_categories":["06-sharing-and-export","04-performance-and-load","08-spaces-and-rbac"],"sentiment":"negative","tags":["alerting"]}
{"id":"so-60921654","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60921654/kibana-with-nginx-as-a-reverse-proxy-just-results-in-a-404-error","posted_at":"2020-03-29T22:41:20.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"GTF","score":4,"kind":"question","title":"Kibana with nginx as a reverse-proxy just results in a 404 error","body":"I am using docker-compose to run the infrastructure for a project, part of which includes an ELK stack. I'm using nginx as a reverse-proxy for kibana (to handle, among other things, SSL using LetsEncrypt as the CA).\n\nWhen I try to access the kibana instance via https://my.host.com/kibana I get a JSON encoded 404 page. I also get a load of errors in the logs for kibana (see below). I have tried tinkering with server.host, server.basePath, server.rewriteBasePath, nginx's proxy_redirect (setting it to off). Nothing really helps. Any help would be much appreciated.\n\nHere's my kibana.yml:\n\nelasticsearch.hosts: [\"http://elasticsearch:9200\"]\nlogging.dest: stdout\nserver.host: kibana\nserver.basePath: /kibana\nserver.rewriteBasePath: true\n\n\nHere's the relevant section in my nginx.conf:\n\n  location /kibana {\n    proxy_set_header        Host $host;\n    proxy_set_header        X-Real-IP $remote_addr;\n    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header        X-Forwarded-Proto $scheme;\n    proxy_set_header        Connection \"Keep-Alive\";\n    proxy_set_header        Proxy-Connection \"Keep-Alive\";\n\n    proxy_pass              http://kibana:5601/;\n    proxy_read_timeout      90;\n    proxy_redirect          http://kibana:5106 https://my.host.com/kibana;\n    proxy_buffering         off;\n  }\n\n\nAnd here's the relevant part of docker-compose.yml:\n\n  nginx:\n    build: ./nginx\n    depends_on:\n      - logstash\n      - kibana\n    networks:\n      - backend\n    ports:\n      - \"80:80\"\n      - \"443:443\"\n    volumes:\n      - /var/www:/var/www\n      - /etc/letsencrypt:/var/www-secure\n\n  logstash:\n    build: ./logstash\n    depends_on:\n      - elasticsearch\n    networks:\n      - backend\n\n  elasticsearch:\n    image: elasticsearch:7.6.1\n    environment:\n      discovery.type: single-node\n    networks:\n      - backend\n\n  kibana:\n    build: ./kibana\n    networks:\n      - backend\n\n\nThe error I get in the logs for the kibana container is this:\n\n\n{\"type\":\"response\",\"@timestamp\":\"2020-03-29T22:36:12Z\",\"tags\":[],\"pid\":6,\"method\":\"get\",\"statusCode\":404,\"req\":{\"url\":\"/\",\"method\":\"get\",\"headers\":{\"host\":\"my.host.com\",\"x-real-ip\":\"185.200.118.103\",\"x-forwarded-for\":\"185.200.118.103\",\"x-forwarded-proto\":\"https\",\"connection\":\"Keep-Alive\",\"proxy-connection\":\"Keep-Alive\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\"accept-language\":\"en-GB,en;q=0.5\",\"accept-encoding\":\"gzip, deflate, br\",\"upgrade-insecure-requests\":\"1\",\"cache-control\":\"max-age=0\"},\"remoteAddress\":\"172.28.0.10\",\"userAgent\":\"172.28.0.10\"},\"res\":{\"statusCode\":404,\"responseTime\":188,\"contentLength\":9},\"message\":\"GET / 404 188ms - 9.0B\"}\n{\"type\":\"error\",\"@timestamp\":\"2020-03-29T22:36:12Z\",\"tags\":[\"warning\",\"process\"],\"pid\":6,\"level\":\"error\",\"error\":{\"message\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\",\"name\":\"UnhandledPromiseRejectionWarning\",\"stack\":\"UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\\n    at emitWarning (internal/process/promises.js:97:15)\\n    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)\\n    at process._tickCallback (internal/process/next_tick.js:69:34)\"},\"message\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\"}\n{\"type\":\"error\",\"@timestamp\":\"2020-03-29T22:36:12Z\",\"tags\":[\"warning\",\"process\"],\"pid\":6,\"level\":\"error\",\"error\":{\"message\":\"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)\",\"name\":\"UnhandledPromiseRejectionWarning\",\"stack\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\"},\"message\":\"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 7)\"}\n{\"type\":\"response\",\"@timestamp\":\"2020-03-29T22:36:13Z\",\"tags\":[],\"pid\":6,\"method\":\"get\",\"statusCode\":404,\"req\":{\"url\":\"/\",\"method\":\"get\",\"headers\":{\"host\":\"my.host.com\",\"x-real-ip\":\"185.200.118.103\",\"x-forwarded-for\":\"185.200.118.103\",\"x-forwarded-proto\":\"https\",\"connection\":\"Keep-Alive\",\"proxy-connection\":\"Keep-Alive\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0\",\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\"accept-language\":\"en-GB,en;q=0.5\",\"accept-encoding\":\"gzip, deflate, br\",\"upgrade-insecure-requests\":\"1\",\"cache-control\":\"max-age=0\"},\"remoteAddress\":\"172.28.0.10\",\"userAgent\":\"172.28.0.10\"},\"res\":{\"statusCode\":404,\"responseTime\":160,\"contentLength\":9},\"message\":\"GET / 404 160ms - 9.0B\"}\n{\"type\":\"error\",\"@timestamp\":\"2020-03-29T22:36:13Z\",\"tags\":[\"warning\",\"process\"],\"pid\":6,\"level\":\"error\",\"error\":{\"message\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\",\"name\":\"UnhandledPromiseRejectionWarning\",\"stack\":\"UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\\n    at emitWarning (internal/process/promises.js:97:15)\\n    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)\\n    at process._tickCallback (internal/process/next_tick.js:69:34)\"},\"message\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\"}\n{\"type\":\"error\",\"@timestamp\":\"2020-03-29T22:36:13Z\",\"tags\":[\"warning\",\"process\"],\"pid\":6,\"level\":\"error\",\"error\":{\"message\":\"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)\",\"name\":\"UnhandledPromiseRejectionWarning\",\"stack\":\"TypeError: Cannot read property 'statusCodes' of undefined\\n    at Network._server.events.on (/usr/share/kibana/node_modules/oppsy/lib/network.js:56:38)\\n    at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\\n    at Request._finalize (/usr/share/kibana/node_modules/hapi/lib/request.js:406:27)\\n    at Request._reply (/usr/share/kibana/node_modules/hapi/lib/request.js:345:14)\\n    at process._tickCallback (internal/process/next_tick.js:68:7)\"},\"message\":\"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 12)\"}","product":["kibana"],"versions":["7.6.1","5.0","10.15"],"lang":"en","answer_count":2,"view_count":6137,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","09-upgrades-and-migration","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-44177208","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44177208/can-not-connect-to-kibana-via-remote-connection","posted_at":"2017-05-25T09:39:47.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Shahrukh Khan","score":4,"kind":"question","title":"Can not connect to kibana via remote connection","body":"I have installed Kibana 5.4 and Elastic search 5.4 on a server, I'm able to access both Kibana and Elastic search via curl on the local machine using the \n\ncurl localhost:5601   \n\n\nI get the following response \n\n\n  var hashRoute = '/app/kibana'; var defaultRoute =\n  '/app/kibana';\n  \n  var hash = window.location.hash; if (hash.length) {   window.location\n  = hashRoute + hash; } else {   window.location = defaultRoute; }\n\n\nfor Elastic search\n\ncurl localhost:9200\n\n\nI get the following response\n\n\n  {   \"name\" : \"mVgeyM4\",   \"cluster_name\" : \"elasticsearch\",\n\n  \"cluster_uuid\" : \"ABV1adpCTY--e7Ib2PIBBQ\",   \"version\" : {\n      \"number\" : \"5.4.0\",\n      \"build_hash\" : \"780f8c4\",\n      \"build_date\" : \"2017-04-28T17:43:27.229Z\",\n      \"build_snapshot\" : false,\n      \"lucene_version\" : \"6.5.0\"   },   \"tagline\" : \"You Know, for Search\" }\n\n\nFollowing is my kibana.yml\n\n# Kibana is served by a back end server. This setting specifies the port to use.\n#server.port: 5601\n# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.\n# The default is 'localhost', which usually means remote machines will not be able to connect.\n# To allow connections from remote users, set this parameter to a non-loopback address.\n#server.host: \"9.51.154.45:5601\"\n# Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects\n# the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests\n# to Kibana. This setting cannot end in a slash.\n#server.basePath: \"\"\n# The maximum payload size in bytes for incoming server requests.\n#server.maxPayloadBytes: 1048576\n# The Kibana server's name.  This is used for display purposes.\n#server.name: \"gtsdms.pok.ibm.com\"\n# The URL of the Elasticsearch instance to use for all your queries.\n#elasticsearch.url: \"http://localhost:9200\"\n# When this setting's value is true Kibana uses the hostname specified in the server.host\n# setting. When the value of this setting is false, Kibana uses the hostname of the host\n# that connects to this Kibana instance.\n#elasticsearch.preserveHost: true\n# Kibana uses an index in Elasticsearch to store saved searches, visualizations and\n# dashboards. Kibana creates a new index if the index doesn't already exist.\n#kibana.index: \".kibana\"\n# The default application to load.\n#kibana.defaultAppId: \"discover\"\n# If your Elasticsearch is protected with basic authentication, these settings provide\n# the username and password that the Kibana server uses to perform maintenance on the Kibana\n# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which\n# is proxied through the Kibana server.\n#elasticsearch.username: \"user\"\n#elasticsearch.password: \"pass\"\n# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.\n# These settings enable SSL for outgoing requests from the Kibana server to the browser.\n#server.ssl.enabled: false\n#server.ssl.certificate: /path/to/your/server.crt\n#server.ssl.key: /path/to/your/server.key\n# Optional settings that provide the paths to the PEM-format SSL certificate and key files.\n# These files validate that your Elasticsearch backend uses the same key files.\n#elasticsearch.ssl.certificate: /path/to/your/client.crt\n#elasticsearch.ssl.key: /path/to/your/client.key\n# Optional setting that enables you to specify a path to the PEM file for the certificate\n# authority for your Elasticsearch instance.\n#elasticsearch.ssl.certificateAuthorities: [ \"/path/to/your/CA.pem\" ]\n# To disregard the validity of SSL certificates, change this setting's value to 'none'.\n#elasticsearch.ssl.verificationMode: full\n# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of\n# the elasticsearch.requestTimeout setting.\n#elasticsearch.pingTimeout: 1500\n# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value\n# must be a positive integer.\n#elasticsearch.requestTimeout: 30000\n# List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side\n# headers, set this value to [] (an empty list).\n#elasticsearch.requestHeadersWhitelist: [ authorization ]\n# Header names and values that are sent to Elasticsearch. Any custom headers cannot be overwritten\n# by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.\n#elasticsearch.customHeaders: {}\n# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.\n#elasticsearch.shardTimeout: 0\n# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.\n#elasticsearch.startupTimeout: 5000\n# Specifies the path where Kibana creates the process ID file.\n#pid.file: /var/run/kibana.pid\n# Enables you specify a file where Kibana stores log output.\n#logging.dest: stdout\n# Set the value of this setting to true to suppress all logging output.\n#logging.silent: false\n# Set the value of this setting to true to suppress all logging output other than error messages.\n#logging.quiet: false\n# Set the value of this setting to true to log all events, including system usage information\n# and all requests.\n#logging.verbose: false\n# Set the interval in milliseconds to sample system and process performance\n# metrics. Minimum is 100ms. Defaults to 5000.\n#ops.interval: 5000\n# The default locale. This locale can be used in certain circumstances to substitute any missing\n# translations.\n#i18n.defaultLocale: \"en\"\n\n\nBut I am unable it access it on remote host either via curl or web browser, one more thing there are no errors in kibana.stderr log file of kibana. What am I doing wrong?","product":["kibana"],"versions":["5.4","5.4.0","6.5.0","9.51"],"lang":"en","answer_count":2,"view_count":9563,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","01-dashboard-authoring","10-docs-and-ux"],"sentiment":"negative","tags":["discover"]}
{"id":"so-39101390","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/39101390/how-to-change-field-types-for-existing-index-using-elasticsearch-mapping-api","posted_at":"2016-08-23T12:35:35.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"daiyue","score":4,"kind":"question","title":"How to change field types for existing index using Elasticsearch Mapping API","body":"I am using ELK and have the following document structure\n\n {\n  \"_index\": \"prod1-db.log-*\",\n  \"_type\": \"db.log\",\n  \"_id\": \"AVadEaq7\",\n  \"_score\": null,\n  \"_source\": {\n    \"message\": \"2016-07-08T12:52:42.026+0000 I NETWORK  [conn4928242] end connection 192.168.170.62:47530 (31 connections now open)\",\n    \"@version\": \"1\",\n    \"@timestamp\": \"2016-08-18T09:50:54.247Z\",\n    \"type\": \"log\",\n    \"input_type\": \"log\",\n    \"count\": 1,\n    \"beat\": {\n      \"hostname\": \"prod1\",\n      \"name\": \"prod1\"\n    },\n    \"offset\": 1421607236,\n    \"source\": \"/var/log/db/db.log\",\n    \"fields\": null,\n    \"host\": \"prod1\",\n    \"tags\": [\n      \"beats_input_codec_plain_applied\"\n    ]\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1471513854247\n    ]\n  },\n  \"sort\": [\n    1471513854247\n  ]\n} \n\n\nI want to change the message field to not_analyzed. I am wondering how to use Elasticsedarch Mapping API to achieve that? For example, how to use PUT Mapping API to add a new type to the existing index?\n\nI am using Kibana 4.5 and Elasticsearch 2.3.\n\nUPDATE\nTried the following template.json in logstash,\n\n 1 {\n 2   \"template\": \"logstash-*\",\n 3   \"mappings\": {\n 4     \"_default_\": {\n 5       \"properties\": {\n 6         \"message\" : {\n 7           \"type\" : \"string\",\n 8           \"index\" : \"not_analyzed\"\n 9         }\n10       }\n11     }\n12   }\n13 }\n\n\ngot the following errors when starting logstash,\n\nlogstash_1       | {:timestamp=>\"2016-08-24T11:00:26.097000+0000\", :message=>\"Invalid setting for elasticsearch output plugin:\\n\\n  output {\\n    elasticsearch {\\n      # This setting must be a path\\n      # File does not exist or cannot be opened /home/dw/docker-elk/logstash/core_mapping_template.json\\n      template => \\\"/home/dw/docker-elk/logstash/core_mapping_template.json\\\"\\n      ...\\n    }\\n  }\", :level=>:error}\nlogstash_1       | {:timestamp=>\"2016-08-24T11:00:26.153000+0000\", :message=>\"Pipeline aborted due to error\", :exception=>#<LogStash::ConfigurationError: Something is wrong with your configuration.>, :backtrace=>[\"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/config/mixin.rb:134:in `config_init'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/outputs/base.rb:63:in `initialize'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/output_delegator.rb:74:in `register'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:181:in `start_workers'\", \"org/jruby/RubyArray.java:1613:in `each'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:181:in `start_workers'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:136:in `run'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/agent.rb:473:in `start_pipeline'\"], :level=>:error}\nlogstash_1       | {:timestamp=>\"2016-08-24T11:00:29.168000+0000\", :message=>\"stopping pipeline\", :id=>\"main\"}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":16684,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load","12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"negative","tags":[]}
{"id":"so-31440011","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31440011/difference-between-fieldname-and-fieldname-raw-in-elk","posted_at":"2015-07-15T20:06:26.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"mathakoot","score":4,"kind":"question","title":"Difference between fieldname and fieldname.raw in ELK?","body":"I have been experimenting with ELK stack for a while now following a few resources on the web. But I didn't find any significant resource that clearly explains the difference between fieldname and fieldname.raw for a field with say name fieldname. \n\nThere is nothing much to try in this context but I did try and search this but no luck. The only primary understanding that I have on this is form Kibana window (which I don't know how to reproduce, sadly) that said: fieldname is an analyzed field. There was not such info regarding fieldname.raw\n\nOne other thing I noticed is that when I use fieldname.raw: \"value\" in the Kibana4 Discover it shows little more results than what I see fieldname: \"value\". I could not see which ones were missing since I had 559 and 554 results form these inputs, respectively.\n\nI am guessing the suffix .raw says what it means - It might be a field from the logs itself without any intervention by Logstash. But I want to make sure if that is what it means. If so, then how (and more importantly, why?) did I get less results in an analyzed field? Is there anything that Logstash isn't doing right or is it some kind of misconfiguration? Any pointers are appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1179,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":["discover"]}
{"id":"so-58434826","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58434826/attempting-to-delete-all-the-data-for-an-index-in-elasticsearch","posted_at":"2019-10-17T14:20:31.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"cluis92","score":4,"kind":"question","title":"Attempting to delete all the data for an Index in Elasticsearch","body":"I am trying to delete all the documents, i.e. data from an index. I am using v6.6 along with the dev tools in Kibana. \n\nIn the past, I have done this operation successfully but now it is saying 'not found'\n\n{\n  \"_index\" : \"new-index\",\n  \"_type\" : \"doc\",\n  \"_id\" : \"_query\",\n  \"_version\" : 1,\n  \"result\" : \"not_found\",\n  \"_shards\" : {\n    \"total\" : 2,\n    \"successful\" : 2,\n    \"failed\" : 0\n  },\n  \"_seq_no\" : 313,\n  \"_primary_term\" : 7\n}\n\n\nHere is my kibana statement\n\nDELETE /new-index/doc/_query\n   {\n      \"query\": {\n        \"match_all\": {}\n      }\n    }\n\n\nAlso, the index GET operation which verified the index has data and exists:\n\nGET new-index/doc/_search\n\n\nI verified the type is doc but I can post the whole mapping, if needed.","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":14335,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-50506854","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50506854/create-histograms-in-grafana-with-alphabetical-values-as-x-axis","posted_at":"2018-05-24T10:22:06.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"paoloyx","score":4,"kind":"question","title":"Create histograms in Grafana with alphabetical values as x-axis","body":"I need to create a dashboard to be used in a control room, where a bunch of operators will need to monitor the number of tasks assigned to other employees (among other aspects).\n\nSource data will be coming from a RDBMs (PostgreSQL, in this case). We have people with assigned and numbered tasks that also have a status, and the DB data is like this (purely fictional: but it resembles the real one)\n\n\n\nHaving to create and mantain a dashboard i was thinking to use tools like Grafana, Kibana or similars, to plot something like this\n\n\n\nThe problem is that Grafana, for example, doesn't let me use alphabetical values for the x-axis. It only allow numeric values, while i've names to plot (Mark, Luke, Brian).\n\nIs there a best practice than i can follow? Am i trying to use the wrong tools?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8482,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":[]}
{"id":"so-48926351","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48926351/logging-via-serilog-to-elasticsearch-does-not-work","posted_at":"2018-02-22T11:30:36.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"J.Doe","score":4,"kind":"question","title":"Logging (via Serilog) to ElasticSearch does not work","body":"I am trying to send logs into ElasticSearch and review them in Kibana. For some strange reason it does not work: the projects is doing something but there is nothing in Kibana. I downloaded and tried over 10 projects related to this topic and althugh they were introduced as the working samples, non of them did the job: there is nothing in Kibana!\n\nHere I am publishing the source code of one of them:\n\npublic class Startup\n{\n    public Startup(IConfiguration configuration)\n    {\n        // Create Serilog Elasticsearch logger\n        Log.Logger = new LoggerConfiguration()\n           .Enrich.FromLogContext()\n           .MinimumLevel.Information() //debug\n           .WriteTo.Elasticsearch().WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri(\"http://localhost:9200\"))\n           {\n               MinimumLogEventLevel = LogEventLevel.Verbose,\n               AutoRegisterTemplate = true\n           })\n           .CreateLogger();\n\n        Configuration = configuration;\n    }\n\n    public IConfiguration Configuration { get; }\n\n    // This method gets called by the runtime. Use this method to add services to the container.\n    public void ConfigureServices(IServiceCollection services)\n    {\n        services.AddLogging(loggingBuilder => loggingBuilder.AddSerilog(dispose: true));\n        services.AddMvc();\n    }\n\n    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.\n\n    public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)\n    {\n        loggerFactory.AddConsole(Configuration.GetSection(\"Logging\"));\n        loggerFactory.AddDebug();\n\n\n        if (env.IsDevelopment())\n        {\n            app.UseDeveloperExceptionPage();\n        }\n        else\n        {\n            app.UseExceptionHandler(\"/Home/Error\");\n        }\n\n        app.UseStaticFiles();\n\n        app.UseMvc(routes =>\n        {\n            routes.MapRoute(\n                name: \"default\",\n                template: \"{controller=Home}/{action=Index}/{id?}\");\n        });\n\n\n    }\n}\n\n\nAnd this is the Controller:\n\npublic IActionResult Index()\n{\n    _logger.LogInformation(\"Hello world!\");\n    return View();\n}\n\npublic IActionResult About()\n{\n    var elasticUri = new Uri(\"http://localhost:9200/cmstest/obj\");\n\n    var loggerConfig = new LoggerConfiguration()\n                    .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(elasticUri)\n                    {\n                        AutoRegisterTemplate = true,\n                        MinimumLogEventLevel = Serilog.Events.LogEventLevel.Verbose\n                    });\n\n\n    var logger = loggerConfig.CreateLogger();\n\n    logger.Error(\"Hello world\");\n    logger.Information(\"Hello world\");\n    logger.Warning(\"Hello world\");\n\n    return View();\n}\n\n\n\n\npublic IActionResult Contact()\n{\n    _logger.LogInformation(\"Hello world\");\n\n    var logger = new LoggerConfiguration()\n                    .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(\n                    new Uri(\"http://localhost:9200\"))\n                    {\n                        AutoRegisterTemplate = true\n                    }).CreateLogger();\n\n    logger.Information(\"Hello world\");\n\n    return View();\n}\n\n\nPS\nI also found the examples with log4net - did not work neither","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":9763,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-40138608","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40138608/kibana-logs-to-syslog-in-json-format","posted_at":"2016-10-19T18:05:50.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Just Lucky Really","score":4,"kind":"question","title":"Kibana logs to Syslog in JSON format","body":"I span up an ELK stack today and all is working well, but for some reason Kibana logs it's own messages in JSON format to syslog. For example:\n\nOct 19 18:49:28 elk-host kibana[11111]: {\"type\":\"response\",\"@timestamp\":\"2016-10-19T17:49:28+00:00\",\"tags\":[],\"pid\":22749,\"method\":\"post\",\"statusCode\":200,\"req\":{\"url\":\"/elasticsearch/logstash*/_field_stats?level=indices\",\"method\":\"post\",\"headers\":{\"host\":\"1.2.3.4:5601\",\"connection\":\"keep-alive\",\"content-length\":\"178\",\"accept\":\"application/json, text/plain, */*\",\"origin\":\"http://1.2.3.4:5601\",\"kbn-version\":\"4.4.2\",\"user-agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36\",\"content-type\":\"application/json;charset=UTF-8\",\"referer\":\"http://1.2.3.4:5601/app/kibana\",\"accept-encoding\":\"gzip, deflate\",\"accept-language\":\"en-US,en;q=0.8\"},\"remoteAddress\":\"5.6.7.8\",\"userAgent\":\"5.6.7.8\",\"referer\":\"http://1.2.3.4:5601/app/kibana\"},\"res\":{\"statusCode\":200,\"responseTime\":11,\"contentLength\":9},\"message\":\"POST /elasticsearch/logstash*/_field_stats?level=indices 200 11ms - 9.0B\"}\n\n\nAll other logs are in the normal format\n\nIs this intentional or have I missed a Kibana setting somewhere?\n\nIf this is intentional, I'll probably just add a syslog filter to log it properly ... But hoping I wont have to","product":["kibana"],"versions":["5.0","5.6.7"],"lang":"en","answer_count":1,"view_count":4482,"accepted":true,"category":"09-upgrades-and-migration","secondary_categories":["13-observability-apm","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-25037576","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25037576/php-fpm-breaks-up-stack-trace-log-into-separate-events","posted_at":"2014-07-30T13:03:38.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Rijndael","score":4,"kind":"question","title":"PHP-FPM breaks up stack trace log into separate events","body":"I have a problem with PHP-FPM registering a single event as multiple events. Take for example the stack trace below:\n\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"NOTICE: PHP message: PHP Fatal error:  Uncaught exception 'Zend_View_Exception' with message 'script 'new-layout.mobile.phtml' not found....\"\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"Stack trace:\"\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"#0 /usr/share/nginx/html/site.com/142-webapp/library/Zend/View/Abstract.php(884): Zend_View_Abstract->_script('new-layout.mobi...')\"\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"#1 /usr/share/nginx/html/site.com/142-webapp/library/Zend/Layout.php(796): Zend_View_Abstract->render('new-layout.mobi...')\"\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"#2 /usr/share/nginx/html/site.com/142-webapp/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render()\"\n[30-Jul-2014 05:38:50] WARNING: [pool www] child 11606 said into stderr: \"#3 /usr/share/nginx/html/site.com/142-webapp/library/Zend/Controller/Plugin/Broker....\"\n\n\nAs you can see, each line of the stack trace is effectively a separate event with its own timestamp. This is problematic when forwarding logs to another service for analysis because then each stack trace will be broken up when it should be considered as one event. At the moment I am using Kibana 3 and it is a nightmare viewing and managing stack traces since each line is a separate event and the individual events are not always in chronological order.\n\nHow do I make php-fpm register each stack trace as one event ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4218,"accepted":true,"category":"03-visualization-quality","secondary_categories":["13-observability-apm","15-plugin-and-ecosystem","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-54352494","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54352494/issues-with-regex-in-kibana","posted_at":"2019-01-24T17:40:32.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Fr&#226;ncio Rodrigues","score":4,"kind":"question","title":"Issues with regex in Kibana","body":"I am having a hard time using a regex pattern inside Kibana/Elasticsearch version 6.5.4. The field I am searching for has the following mapping:\n\n\"field\": {\n          \"type\": \"text\",\n          \"analyzer\": \"custom_analyzer\"\n        },\n\n\nRegex searches in this field return several hits when requested straight to elasticsearch:\n\nGET /my_index/_search\n{\n    \"query\": {\n        \"regexp\":{\n            \"field\": \"abc[0-9]{4}\"\n        }\n    }\n}\n\n\nOn the other hand, in Kibana's discover/dashboard pages all queries below return empty:\n\noriginal query - field:/abc[0-9]{4}/\n\nscaped query - field:/abc\\[0\\-9\\]\\{4\\}/\n\ndesperate query - field:/.*/\n\nInspecting the request done by kibana to elasticsearch reveals the following query:\n\n  \"query\": {\n    \"bool\": {\n      \"must\": [\n        {\n          \"query_string\": {\n            \"query\": \"field:/abc[0-9]{4}/\",\n            \"analyze_wildcard\": true,\n            \"default_field\": \"*\"\n          }\n        }\n\n\nI expected kibana to understand the double forward slash syntax /my_query/ and make a ´regexp query´ instead of a ´query_string´. I have tried this with both query languages: \"lucene\", \"kuery\" and with the optional \"experimental query features\" enabled/disabled.\n\nDigging further I found this old issue which says that elastic only runs regex into the now deprecated _all field. If this still holds true I am not sure how regex work in kibana/elastic 6.X.\n\nWhat am I missing? Any help in clarifying the conditions to use regex in Kibana would be much appreciated \n\nAll other stack questions in this subject are either old or were related to syntax issues and/or lack of understanding of how the analyzer deals with whitespaces and did not provide me any help.","product":["kibana"],"versions":["6.5.4"],"lang":"en","answer_count":2,"view_count":6747,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["15-plugin-and-ecosystem","01-dashboard-authoring","05-index-patterns-data-views"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-28466816","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28466816/kibana-to-display-timestamp-field-into-a-readable-format","posted_at":"2015-02-11T23:47:42.000Z","captured_at":"2026-04-14T13:23:55.541Z","author":"Nataraki","score":4,"kind":"question","title":"Kibana to display @timestamp field into a readable format","body":"I setup an ELK stack (Elasticsearch, Logstash, and Kibana)\n\nI wonder how to display the @timestamp field into a readable format which contains this format YYYY-MM-DDTHH:mm:ss.SSSZ\n\nI want the Kibana to display something like HH:mm:ss DD MM YYYY\n\nNote:\n\nI'd like to configure the @timestamp field in Kibana because I don't wanna setup logstash to add additional field just to display timestamp in a readable fasion. Thanks","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":6516,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-20228036","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/20228036/how-to-graph-different-values-of-a-field-over-time-in-kibana-classcast-excepti","posted_at":"2013-11-26T21:11:08.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Anusha Pachunuri","score":4,"kind":"question","title":"How to graph different values of a field over time in Kibana - ClassCast Exception","body":"I am trying to read log files using logstash. I used grok to parse a number in the message into a number and store it as a field.\nBut as far i see, i only got Kibana to graph the number of times a message occured over time.\n\nI didnt have any luck using Kibana to graph more than just the number of times a message occurs.\n\nExample of my message : \n\n1) \"JvmStatsLoggerService - gc count: 58\"\n2) \"JvmStatsLoggerService - gc time: 2392 ms\"\n\n\nI extract/create COUNT and TIME fields to store the corresponding values 58 and 2392..I want to graph the different values of COUNT and TIME over the last 5mins or 10mins rather than the number of times they occured in the log files over time.\n\nTried it on the live demo but on my kibana localost console i get this error\n\nOops! ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]\n\n\nAny help is greatly appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":8428,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-66184415","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66184415/how-to-i-have-elastic-search-with-multiple-nodes-and-kibana-in-one-docker-comp","posted_at":"2021-02-13T11:09:42.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"zipline86","score":4,"kind":"question","title":"How to I have Elastic Search (with multiple nodes) and Kibana in one docker compose file?","body":"I have successfully installed a 3-node Elastic Search cluster with a docker compose file from the Elastic Search web site with no problems elastic search link. I am trying to add Kibana to the .yml file so I can run it all with docker-compose up and was looking at this Elastic Search Kibana install site to try to figure it out what to add Kibana install site. When I try to start the file I made, I get this error kibana_1  | {\"type\":\"log\",\"@timestamp\":\"2021-02-13T11:20:31Z\",\"tags\":[\"error\",\"elasticsearch\",\"data\"],\"pid\":8,\"message\":\"[ConnectionError]: getaddrinfo ENOTFOUND elasticsearch elasticsearch:9200\"}. When I open the http://localhost:5601, it says Kibana server not ready yet. Can somebody please help me get this working? I marked the section I added in the .yml file.\nversion: '2.2'\nservices:\n  es01:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0\n    container_name: es01\n    environment:\n      - node.name=es01\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es02,es03\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data01:/usr/share/elasticsearch/data\n    ports:\n      - 9200:9200\n    networks:\n      - elastic\n  es02:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0\n    container_name: es02\n    environment:\n      - node.name=es02\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es01,es03\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data02:/usr/share/elasticsearch/data\n    networks:\n      - elastic\n  es03:\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0\n    container_name: es03\n    environment:\n      - node.name=es03\n      - cluster.name=es-docker-cluster\n      - discovery.seed_hosts=es01,es02\n      - cluster.initial_master_nodes=es01,es02,es03\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms512m -Xmx512m\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    volumes:\n      - data03:/usr/share/elasticsearch/data\n    networks:\n      - elastic\n\n##############################\n# My attempt at adding Kibana to the docker file. This file works \n# fine if commenting out this whole section.\n  kibana:\n    image: docker.elastic.co/kibana/kibana:7.10.2\n    environment:\n      - ELASTICSEARCH_HOSTS=http://elasticsearch:9200\n    ports:\n      - 5601:5601\n##############################\n\nvolumes:\n  data01:\n    driver: local\n  data02:\n    driver: local\n  data03:\n    driver: local\n\nnetworks:\n  elastic:\n    driver: bridge","product":["kibana"],"versions":["7.11.0","7.10.2"],"lang":"en","answer_count":2,"view_count":9119,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-44154728","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44154728/which-version-of-kibana-will-be-applicable-for-elasticsearch-2-4-5","posted_at":"2017-05-24T09:44:45.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Shashi Mishra","score":4,"kind":"question","title":"Which version of Kibana will be applicable for ElasticSearch 2.4.5?","body":"As i can't find kibana 2.4.5 in elastic.co/downloads.  \n\nMy problem can be better described in attachment below-\nlocalhost:5601\n\nelastic.co kibana2.4.5 not available","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1188,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-23909960","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23909960/elasticsearch-connection-refused-while-connecting-to-upstream","posted_at":"2014-05-28T11:07:57.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"tchap","score":4,"kind":"question","title":"Elasticsearch : Connection refused while connecting to upstream","body":"I've set up an Elasticsearch server with Kibana to gather some logs.\n\nElasticsearch is behind a reverse proxy by Nginx, here is the conf :\n\nserver {   \n  listen   8080;   \n  server_name myserver.com; \n  error_log   /var/log/nginx/elasticsearch.proxy.error.log;\n  access_log  off;\n\n  location / {\n\n    # Deny Nodes Shutdown API\n    if ($request_filename ~ \"_shutdown\") {\n      return 403;\n      break;\n    }\n\n    # Pass requests to ElasticSearch\n    proxy_pass http://localhost:9200;\n    proxy_redirect off;\n    proxy_http_version 1.1;\n    proxy_set_header Connection \"\";\n\n    proxy_set_header  X-Real-IP  $remote_addr;\n    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header  Host $http_host;\n\n    # For CORS Ajax\n    proxy_pass_header Access-Control-Allow-Origin;\n    proxy_pass_header Access-Control-Allow-Methods;\n    proxy_hide_header Access-Control-Allow-Headers;\n    add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type';\n    add_header Access-Control-Allow-Credentials true;\n\n  }\n\n}\n\n\nEverything works well, I can curl -XGET \"myserver.com:8080\" to check, and my logs come in.\n\nBut every minute or so, in the nginx error logs, I get that :\n\n2014/05/28 12:55:45 [error] 27007#0: *396 connect() failed (111: Connection refused) while connecting to upstream, client: [REDACTED_IP], server: myserver.com, request: \"POST /_bulk?replication=sync HTTP/1.1\", upstream: \"http://[::1]:9200/_bulk?replication=sync\", host: \"myserver.com\"\n\n\nI can't figure out what it is, is there any problem in the conf that would prevent some _bulk requests to come through ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7242,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-22687826","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/22687826/custom-x-axis-in-kibana","posted_at":"2014-03-27T12:35:07.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Jerald Johnson","score":4,"kind":"question","title":"Custom X Axis in Kibana","body":"I have some data, and one of the Values I have is 'version'.\n\nI would like to use something like the histogram, but instead of each bar being by data, I want it to be by the 'version' value.\n\nHow can I build a graph like that in Kibana?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9019,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-21764223","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21764223/es-time-series-data-using-percentile-median","posted_at":"2014-02-13T19:55:13.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Derek Organ","score":4,"kind":"question","title":"ES Time series data using Percentile/median","body":"With Elasticsearch I know I can do some nice time series data queries and get mean/max etc\n\nhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-statistical-facet.html\n\nIs it possible though to only include the 90% percentile in that calculation and in Kibana in particular?\n\nAny thoughts on how this could be done?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2469,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-20738076","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/20738076/kibana-deployment-issue-on-server-client-not-able-to-access-gui","posted_at":"2013-12-23T06:24:59.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Sarde","score":4,"kind":"question","title":"Kibana deployment issue on server . . . client not able to access GUI","body":"I have configured Logstash + ES + kibana on 100.100.0.158 VM and Kibana is running under apache server. port 8080\n\nNow what my need is . . I just have to give URL \"100.100.0.158:8080/kibana\" to client so client can see his data on web.\n\nWhen when I put this URL on client browser I am getting this error \n\"can't contact elasticsearch at http://\"127.0.0.1\":9200 please ensure that elastic search is reachable from your system\"\n\nDo I need to configure ES with IP 100.100.0.158:9200 or 127.0.0.1:9200 is ok . . !\n\nHelp . . !\n\nThanks\nTushar","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":8586,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-75568513","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/75568513/k8s-fluent-bit-elastic-tried-to-parse-field-as-object-but-found-a-concrete","posted_at":"2023-02-25T21:20:30.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"flypenguin","score":4,"kind":"question","title":"K8S, fluent-bit &amp; elastic: Tried to parse field as object, but found a concrete value","body":"I switched from using fluentd to fluent-bit for ingesting K8S cluster logs into elastic, but now I am getting a lot of those error messages (showing up in kibana, so it works at least partially):\n[object mapping for [kubernetes.labels.app] \\\n  tried to parse field [app] as object, \\\n  but found a concrete value, \\\n  object mapping for [kubernetes.labels.app] tried to parse field [app] as object, \\\n  but found a concrete value]\n\nI don't really understand what that means, to be honest. I googled myself crazy, but found nothing of value. i imagine elastic expects \"more dots below\" the kubernetes.app keyword, but i fail to see why (is kubernetes.labels.app not valid together with kubernetes.labels.app.kubernetes.io??)\nThe closest thing I could come up with is a change of the kubernetes \"property\" in elastic to type text, yet I ...\n\ndon't really know if this is the correct solution,\nfailed to find out how,\nand would not know how to do this for all new logstash-* indexes which are automatically created by fluent-bit.\n\ncan someone help me out here? I am stuck.\nI tried re-indexing into a new index, which at least did not fail, but didn't help (obviously, because the old indexes are still used, naturally). also, i have no clue whether the \"new mapping\" i created (see here) is correct. my fluent-bit config can be found in the same gist.\nany help greatly appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4128,"accepted":false,"category":"04-performance-and-load","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-66994227","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66994227/kibana-startup-fails-with-license-information-and-later-with-unable-to-retrieve","posted_at":"2021-04-07T21:18:24.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"rel.foo.fighters","score":4,"kind":"question","title":"Kibana startup fails with License information and later with Unable to retrieve version information","body":"I'm tried to follow this guideline for installing ELK on Centos 8 (on top of one AWS cluster).\nAfter installing elastic and kibana, the kibana startup failed with:\n*\"message\":\"License information could not be obtained from Elasticsearch\n\nI googled it, and realized I should use OSS version (latest is 7.10.2)\nso make sure to install only OSS version. you can use this guideline\nafter that, I got new error from kibana.log\n-08T07:19:32Z\",\"tags\":[\"error\",\"savedobjects-service\"],\"pid\":62767,\"message\":\"Unable to retrieve version information from Elasticsearch nodes.\"}\n\nI tried to google it, but no solution worked for me.\nmy kibana.yaml:\nserver.port: 5601\nserver.host: \"0.0.0.0\"\nelasticsearch.hosts: \"[my public AWS instance ip:9200]\"\n\nmy elasticsearch.yaml:\npath.data: /var/lib/elasticsearch\npath.logs: /var/log/elasticsearch\nnetwork.host: 0.0.0.0\nhttp.port: 9200\ndiscovery.seed_hosts: \"[my private AWS instance ip]\"\ncluster.initial_master_nodes: \"[my private AWS instance ip]\"\n\nUpdate:\nIf I'm changing this line in kibana.yaml file to:\nelasticsearch.hosts: \"http://localhost:9200\"\n\nThen it works. what is the root cause? why it can't access elastic public IP but only local?","product":["kibana"],"versions":["7.10.2"],"lang":"en","answer_count":4,"view_count":24260,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":["license"]}
{"id":"so-66634552","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66634552/cant-access-kibana-with-domain","posted_at":"2021-03-15T08:24:05.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Aline137","score":4,"kind":"question","title":"Can&#39;t access kibana with domain","body":"I generated certs for my app using certbot/Letsencrypt. I got two pem files which I added in my kibana.yml file. When I try to access kibana through https://domainName:5601 I get timeout error, while I can access it with IP. Am I missing something?\nThis is my kibana.yml:\nserver.name: kibana\nserver.host: \"0.0.0.0\"\n\nserver.ssl.enabled: true\nserver.ssl.certificate: \"/usr/share/kibana/config/certs/fullchain.pem\"\nserver.ssl.key: \"/usr/share/kibana/config/certs/privkey.pem\"","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":11149,"accepted":false,"category":"04-performance-and-load","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-35762103","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35762103/kibana-timelion-plugin-how-to-specify-a-field-in-the-elastic-search","posted_at":"2016-03-03T02:33:42.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"J.Y.Wang","score":4,"kind":"question","title":"Kibana Timelion plugin how to specify a field in the elastic search","body":"I'm trying to use Timelion plugin for kibana.  \n\nI have a dataset in the elasticsearch, the structure may be like this:\n\n{\n    \"_index\": \"metrics-2016-03\",\n    \"_type\": \"gauge\",\n    \"_id\": \"AVM2O7gbLYPaOnNTBgG0\",\n    \"_score\": 1,\n    \"_source\": {\n        \"name\": \"kafka.network.RequestChannel.ResponseQueueSize\",\n        \"@timestamp\": \"2016-03-02T07:29:56.000+0000\",\n        \"value\": 4,\n        \"host\": \"localhost\"\n    }\n}\n\n\nI want to show the \"value\" field as the y axis and \"@timestamp\" as the x aixs, how should I do?\n\nI tried the .es() function, but this function seems to set the count as the default value, not the \"value\" field in the datasource.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":8266,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-25245372","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25245372/searching-within-an-array-in-kibana","posted_at":"2014-08-11T14:12:00.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"erbdex","score":4,"kind":"question","title":"Searching within an array in kibana","body":"I am pushing my logs to elasticsearch which stores a typical doc as-\n\n{\n  \"_index\": \"logstash-2014.08.11\",\n  \"_type\": \"machine\",\n  \"_id\": \"2tSlN1P1QQuHUkmoJfkmnQ\",\n  \"_score\": null,\n  \"_source\": {\n    \"category\": \"critical log with list\",\n    \"app_name\": \"attachment\",\n    \"stacktrace_array\": [\n      \"this is the first line\",\n      \"this is the second line\",      \n      \"this is the third line\",      \n      \"this is the fourth line\",    \n    ],\n    \"@timestamp\": \"2014-08-11T13:30:51+00:00\"\n  },\n  \"sort\": [\n    1407763851000,\n    1407763851000\n  ]\n}\n\n\nKibana makes searching substrings very easy. For example searching for \"critical\" in the dashboard will fetch all logs with the word critical in any string mapped value.\n\nHow do i go about searching for something like \"second line\" which is a string nested in an array within my doc?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":13111,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-72231065","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72231065/filebeat-not-sending-data-to-elasticsearch-kibana","posted_at":"2022-05-13T14:18:21.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Naveen","score":4,"kind":"question","title":"FileBeat not sending data to ElasticSearch Kibana","body":"I'm unable to receive data in the Kibana dashboard from the Filebeat agent. I'm using self-managed ELK with AWS EC2 server. Below is my filebeat.yml\nfilebeat.inputs:\n  - type: log\n  enabled: true\n  paths:\n    - /home/ubuntu/logs/consumer-app/*.log\n\nfilebeat.config.modules:\n  path: ${path.config}/modules.d/*.yml\n  reload.enabled: false\n\nsetup.template.settings:\n  index.number_of_shards: 1\n\noutput.elasticsearch:\n  hosts: [\"http://PUBLIC_IP:9200\"]\nsetup.kibana:\n  host: \"http://PUBLIC_IP:5601\"\n\nelasticsearch.yaml\npath.data: /var/lib/elasticsearch\npath.logs: /var/log/elasticsearch\nnetwork.host: PUBLIC_IP\nhttp.port: 9200\ndiscovery.type: single-node\n\nkibana.yml\nserver.port: 5601\nserver.host: PUBLIC_IP\nelasticsearch.hosts: [\"http://PUBLIC_IP:9200\"]\n\nWhen I try to hit sudo filebeat setup command. Im getting the below error.\nOverwriting ILM policy is disabled. Set setup.ilm.overwrite: true for enabling.\nIndex setup finished.\nLoading dashboards (Kibana must be running and reachable)\nExiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails: fail to execute the HTTP GET request: Get \"http://localhost:5601/api/status\": dial tcp 127.0.0.1:5601: connect: connection refused. Response: .\nSince I'm new to ELK and filebeat, any help is much appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5864,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-64349957","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64349957/circuit-breaking-exception-in-kibanaa","posted_at":"2020-10-14T09:03:26.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Dimple Goyal","score":4,"kind":"question","title":"circuit_breaking_exception in kibanaa","body":"{\nstatusCode: 429,\nerror: \"Too Many Requests\",\nmessage: \"[circuit_breaking_exception] [parent] Data too large, data for [<http_request>] would be [2047736072/1.9gb], which is larger than the limit of [2040109465/1.8gb], real usage: [2047736072/1.9gb], new bytes reserved: [0/0b], usages [request=0/0b, fielddata=854525953/814.9mb, in_flight_requests=0/0b, accounting=79344850/75.6mb], with { bytes_wanted=2047736072 & bytes_limit=2040109465 & durability=\"PERMANENT\" }\"\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3295,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-62901313","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62901313/kibana-query-dsl-how-to-apply-a-regexp-filter-on-a-text-value-field-which-conta","posted_at":"2020-07-14T18:04:32.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"bobo","score":4,"kind":"question","title":"Kibana Query DSL: How to apply a regexp filter on a text value field which contains JSON syntax","body":"I am having access to data of an elasticsearch instance using Kibana.\nWithin the data there is a text field which contains a string.\nThis string (Textfield) looks like JSON but it is not.\nHere comes the difference (PLEASE FOCUS ON THE \"message\" key in the JSON):\nIf you expand the document to see the \"expanded document\" view with the little \"opened folder\" icon you can choose two tabs \"Table\" and \"JSON\".\nSelect \"JSON\".\nThen you would see the follwing:\n{\n    \"_index\": \"kibana_sample_data\",\n    \"_type\": \"_doc\",\n    \"_id\":\"someString\",\n    \"_version\": 1,\n    \"_score\": null,\n    \"_source\":{\n        \"first_key\":\"some string\",\n        \"message\": \n        \"{\n          \\\"length\\\": 11.99,\n          \\\"percentage\\\": 0,\n          \\\"name\\\": \\\"foo\\\",\n          \\\"category\\\": \\\"bar\\\",\n          \\\"sub_msg\\\": \\\"M001: This is a message-code.\\\"\n        }\"\n    }                \n}\n\nAs you can see the message-key value which should be JSON is just a string and all key and value informations are escaped (except for number values).\nWhat I should see to select it easily using the filter of the GUI is a JSON like this:\n{\n    \"_index\": \"kibana_sample_data\",\n    \"_type\": \"_doc\",\n    \"_id\":\"someString\",\n    \"_version\": 1,\n    \"_score\": null,\n    \"_source\":{\n        \"first_key\":\"some string\",\n        \"message\": \n        {\n          \"length\": 11.99,\n          \"percentage\": 0,\n          \"name\": \"foo\",\n          \"category\": \"bar\",\n          \"sub_msg\": \"M001: This is a message-code\"\n        }\n    }                \n}\n\nWhat I am trying to do now is to extract the value of the key \"sub_msg\" using Query DSL and a regex. But I am not even able to find all matches with the correct beginning character of the message-key value (string).\nIn more detail the Elastic Search Query DSL part:\n{\n  \"query\": {\n    \"regexp\": {\n      \"message\": \"{.*\"\n    }\n  }\n}\n\nBut the search does not match anything.\nWhat it does match is if I try to search for the keys in the message like this:\n{\n  \"query\": {\n    \"regexp\": {\n      \"message\": \"sub_msg\"\n    }\n  }\n}\n\nWhat I can not do is to search for a respective value within the message like this:\n{\n  \"query\": {\n    \"regexp\": {\n      \"message\": \"M001: This is a message-code\"\n    }\n  }\n}\n\nMy actual Goal is to query for the log's message code like \"M001:.*\" within the value of the \"sub_msg\"-key. With those query-results I would like to create a simple dashboard.\nUnfortunately I feel I am at a dead end right now.\nI also tried stuff like escaping the escape characters of the value by adding some \"\\\" to the actual backslashes within the Query DSL. This throws an exception in Kibana.","product":["kibana"],"versions":["11.99"],"lang":"en","answer_count":1,"view_count":13626,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-61087645","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61087645/how-to-find-filed-exist-but-empty-in-kibana-kql","posted_at":"2020-04-07T19:11:26.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Chandler.Huang","score":4,"kind":"question","title":"How to find filed exist but empty in kibana KQL?","body":"As title, i can't find a way to do it in kibana KQL.\nI have tried NOT field, it's not work.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6933,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":["kql"]}
{"id":"so-57034941","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57034941/how-can-i-export-all-8304-hits","posted_at":"2019-07-15T07:20:51.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Leevi L","score":4,"kind":"question","title":"How can I export all 8304 hits?","body":"We use logz.io/#/dashboard/kibana to monitor our logs. My filter results in 8304 hits. I want to export them as a CSV for further analysis. When I click on export (next to New, Save, Open, Share, and Auto-refresh) I only get the first 500 hits.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":5304,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-53857153","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53857153/what-is-the-sql-distinct-equivalent-in-kibana","posted_at":"2018-12-19T18:22:40.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"AskMe","score":4,"kind":"question","title":"What is the SQL “Distinct” equivalent in Kibana?","body":"I’m new to Kibana and Elasticsearch. I have a field name called serviceprovidername. I would like to find how many distinct service provider name present in this field. How can I achieve this?\nThis is what I have tried so far.\n\nsearch query\n\nGET _search{“ages”: {“distinct_serviceprovidername”:{“terms”:{“field” :”serviceprovidername”}}}}\n\nIf my raw data is like this\n Serviceprovidername \n _______________________\n          X\n          Y\n          X\n          Y\n          Y\n          Z\n\nI’m excepting result as:\n    Serviceprovidername \n    _______________________\n             X\n             Y\n             Z","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":11079,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-53020977","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53020977/how-to-convert-elasticquery-into-kibana-url","posted_at":"2018-10-27T10:31:07.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Pirai Sudie","score":4,"kind":"question","title":"How to convert elasticquery into kibana URL","body":"i am using kibana 6 dashboard to show visualization.\n\ni have a elastic query like below and it need to pass in kibana dashbaord URL :\n\n{\n  \"query\": {\n    \"bool\": {\n      \"minimum_should_match\": 1,\n      \"should\": [\n        {\n          \"match_phrase\": {\n            \"jt_tax.keyword\": \"Partner\"\n          }\n        },\n        {\n          \"match_phrase\": {\n            \"jt_tax.keyword\": \"IT\"\n          }\n        }\n      ]\n    }\n  }\n}\n\n\nHow to parse the ELASTIC QUERY into  query parameter in Kibana dashboard Url?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4274,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-52542487","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52542487/unable-to-connect-to-kibana-elasticsearch-using-docker-compose","posted_at":"2018-09-27T17:44:47.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"user11","score":4,"kind":"question","title":"Unable to connect to kibana/elasticsearch using docker-compose","body":"I am trying to run Kibana in Elasticsearch through a docker-compose containarized file (.yml) in a virtual machine, but I am unable to connect to Kibana and the message that I get while it's unsuccessfully trying to connect is shown below:\n\n[34mspark-master     |[0m 18/09/25 17:58:29 INFO master.Master: Registering worker 172.18.0.8:8881 with 2 cores, 1024.0 MB RAM\n[36;1mspark-worker     |[0m 18/09/25 17:58:29 INFO worker.Worker: Successfully registered with master spark://spark-master:7077\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:31Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:31Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:33Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:33Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:36Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:36Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:38Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:38Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n[35mkibana           |[0m {\"type\":\"log\",\"@timestamp\":\"2018-09-25T17:58:41Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"info\"],\"pid\":1,\"state\":\"green\",\"message\":\"Status changed from red to green - Ready\",\"prevState\":\"red\",\"prevMsg\":\"Unable to connect to Elasticsearch at http://elasticsearch:9200.\"}\n[33melasticsearch    |[0m 2018-09-25 17:58:47,078 INFO exited: create-index (exit status 0; expected)\n\n\nIf you notice, docker is able to connect to other services mentioned in the docker-compose file, one of which is spark-master shown in the first 2 lines. The command to call kibana in the docker-compose file is as follows:\n\n  elasticsearch:\n    build: docker-elasticsearch/\n    container_name: elasticsearch\n    hostname: elasticsearch\n    environment:\n      - Des.network.host=0.0.0.0\n      - cluster.name = \"elasticsearch\"\n    expose:\n      - 9200\n    ports:\n      - \"9200:9200\"\n\n\n  kibana:\n    build: kibana/\n    container_name: kibana\n    hostname: kibana\n    environment:\n      - SERVER_NAME=\"kibana\"\n      - SERVER_HOST=\"0\"\n      - ELASTICSEARCH_URL=http://elasticsearch:9200\n    ports:\n      - \"5601:5601\"\n    links:\n      - elasticsearch\n    depends_on:\n      - elasticsearch\n\n\nIf I do docker-compose ps, it gives me following:\n\n    Name                 Command             State              Ports           \n--------------------------------------------------------------------------------\nelasticsearch   /usr/local/bin/docker-entr   Up       0.0.0.0:9200->9200/tcp,   \n                ...                                   9300/tcp                  \nkibana          /bin/bash /usr/local/bin/k   Up       0.0.0.0:5601->5601/tcp \n\n\nI searched for this issue extensively on google before posting this question here, and tried various suggestions that people had for this issue that included modifying the elasticsearch_url, such as changing http to https, changing localhost to elasticsearch and the combination/permutation of these two suggestions, but I was not able to connect to Kibana using any of the suggestion. It was also suggested somewhere to check the allocated memory for my virtual machine, which for my VM was equal to the value suggested by Elasticsearch.\n\nEDIT-1\n\nOn using the commands given by @Ivthillo, it seems Kibana gets connected as shown by the following messages on terminal:\n\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2018-09-26T13:43:05Z\",\"tags\":[\"info\",\"monitoring-ui\",\"kibana-monitoring\"],\"pid\":1,\"message\":\"Starting all Kibana monitoring collectors\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2018-09-26T13:43:06Z\",\"tags\":[\"license\",\"info\",\"xpack\"],\"pid\":1,\"message\":\"Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active\"}\nkibana_1         | {\"type\":\"log\",\"@timestamp\":\"2018-09-26T13:43:12Z\",\"tags\":[\"listening\",\"info\"],\"pid\":1,\"message\":\"Server running at http://0:5601\"}\n\n\nHowever, when I try running another service through docker (e.g. sudo docker exec -i) in a new terminal (becase the above message Server is running at... remains stuck as it does not move ahead), I get an error indicating container is not running as follows:\n\nError response from daemon: Container 824846b64950d7e6f38792c5633f9eca3e84702cfe060de012c4fe39cf365ab9 is not running","product":["kibana"],"versions":["18.0.8","6.2.2"],"lang":"en","answer_count":2,"view_count":9554,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"negative","tags":["license"]}
{"id":"so-52212228","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52212228/in-logstash-how-do-i-limit-the-depth-of-json-properties-in-my-logs-that-are-tur","posted_at":"2018-09-06T21:13:27.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"jlavallet","score":4,"kind":"question","title":"In Logstash, how do I limit the depth of JSON properties in my logs that are turned into Index fields in Elasticsearch?","body":"I'm fairly new to the Elastic Stack. I'm using Logstash 6.4.0 to load JSON log data from Filebeat 6.4.0 into Elasticsearch 6.4.0.. I'm finding that I'm getting way too many JSON properties converted into fields once I start using Kibana 6.4.0. \n\nI know this because when I navigate to Kibana Discover and put in my index of logstash-*, I'm getting an error message that states:\n\n\n  Discover: Trying to retrieve too many docvalue_fields. Must be less than or equal to: [100] but was [106]. This limit can be set by changing the [index.max_docvalue_fields_search] index level setting.\n\n\nIf I navigate to Management > Kibana > Index Patterns I see that I have 940 fields. It appears that each child property of my root JSON object (and many of those child properties have JSON objects as values, and so on) is automatically being parsed and used to create fields in my Elasticsearch logstash-* index.\n\nSo here's my question – how can I limit this automatic creation? Is it possible to do this by property depth? Is it possible to do this some other way?\n\nHere is my Filebeat configuration (minus the comments):\n\nfilebeat.inputs:\n- type: log\n  enabled: true\n  paths:\n  - d:/clients/company-here/rpms/logs/rpmsdev/*.json\n  json.keys_under_root: true\n  json.add_error_key: true\n\nfilebeat.config.modules:\n  path: ${path.config}/modules.d/*.yml\n  reload.enabled: false\n\nsetup.template.settings:\n  index.number_of_shards: 3\n\nsetup.kibana:\n\noutput.logstash:\n  hosts: [\"localhost:5044\"]\n\n\nHere is my current Logstash pipeline configuration:\n\ninput {\n    beats {\n        port => \"5044\"\n    }\n}\nfilter {\n    date {\n        match => [ \"@timestamp\" , \"ISO8601\"]\n    }\n}\noutput {\n    stdout { \n        #codec => rubydebug \n    }\n    elasticsearch {\n        hosts => [ \"localhost:9200\" ]\n    }\n}\n\n\nHere is an example of a single log message that I am shipping (one row of my log file) – note that the JSON is completely dynamic and can change depending on what's being logged:\n\n{\n    \"@timestamp\": \"2018-09-06T14:29:32.128\",\n    \"level\": \"ERROR\",\n    \"logger\": \"RPMS.WebAPI.Filters.LogExceptionAttribute\",\n    \"message\": \"Log Exception: RPMS.WebAPI.Entities.LogAction\",\n    \"eventProperties\": {\n        \"logAction\": {\n            \"logActionId\": 26268916,\n            \"performedByUserId\": \"b36778be-6181-4b69-a0fe-e3a975ddcdd7\",\n            \"performedByUserName\": \"[email protected]\",\n            \"performedByFullName\": \"Mike Manley\",\n            \"controller\": \"RpmsToMainframeOperations\",\n            \"action\": \"UpdateStoreItemPricing\",\n            \"actionDescription\": \"Exception while updating store item pricing for store item with storeItemId: 146926. An error occurred while sending the request. InnerException: Unable to connect to the remote server InnerException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.1.133:8800\",\n            \"url\": \"http://localhost:49399/api/RpmsToMainframeOperations/UpdateStoreItemPricing/146926\",\n            \"verb\": \"PUT\",\n            \"statusCode\": 500,\n            \"status\": \"Internal Server Error - Exception\",\n            \"request\": {\n                \"itemId\": 648,\n                \"storeId\": 13,\n                \"storeItemId\": 146926,\n                \"changeType\": \"price\",\n                \"book\": \"C\",\n                \"srpCode\": \"\",\n                \"multi\": 0,\n                \"price\": \"1.27\",\n                \"percent\": 40,\n                \"keepPercent\": false,\n                \"keepSrp\": false\n            },\n            \"response\": {\n                \"exception\": {\n                    \"ClassName\": \"System.Net.Http.HttpRequestException\",\n                    \"Message\": \"An error occurred while sending the request.\",\n                    \"Data\": null,\n                    \"InnerException\": {\n                        \"ClassName\": \"System.Net.WebException\",\n                        \"Message\": \"Unable to connect to the remote server\",\n                        \"Data\": null,\n                        \"InnerException\": {\n                            \"NativeErrorCode\": 10060,\n                            \"ClassName\": \"System.Net.Sockets.SocketException\",\n                            \"Message\": \"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\",\n                            \"Data\": null,\n                            \"InnerException\": null,\n                            \"HelpURL\": null,\n                            \"StackTraceString\": \"   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)\\r\\n   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)\\r\\n   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)\",\n                            \"RemoteStackTraceString\": null,\n                            \"RemoteStackIndex\": 0,\n                            \"ExceptionMethod\": \"8\\nInternalEndConnect\\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\\nSystem.Net.Sockets.Socket\\nVoid InternalEndConnect(System.IAsyncResult)\",\n                            \"HResult\": -2147467259,\n                            \"Source\": \"System\",\n                            \"WatsonBuckets\": null\n                        },\n                        \"HelpURL\": null,\n                        \"StackTraceString\": \"   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)\\r\\n   at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)\",\n                        \"RemoteStackTraceString\": null,\n                        \"RemoteStackIndex\": 0,\n                        \"ExceptionMethod\": \"8\\nEndGetRequestStream\\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\\nSystem.Net.HttpWebRequest\\nSystem.IO.Stream EndGetRequestStream(System.IAsyncResult, System.Net.TransportContext ByRef)\",\n                        \"HResult\": -2146233079,\n                        \"Source\": \"System\",\n                        \"WatsonBuckets\": null\n                    },\n                    \"HelpURL\": null,\n                    \"StackTraceString\": \"   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\\r\\n   at RPMS.WebAPI.Infrastructure.RpmsToMainframe.RpmsToMainframeOperationsManager.<PerformOperationInternalAsync>d__14.MoveNext() in D:\\\\Century\\\\Clients\\\\PigglyWiggly\\\\RPMS\\\\PWADC.RPMS\\\\RPMSDEV\\\\RPMS.WebAPI\\\\Infrastructure\\\\RpmsToMainframe\\\\RpmsToMainframeOperationsManager.cs:line 114\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\\r\\n   at RPMS.WebAPI.Infrastructure.RpmsToMainframe.RpmsToMainframeOperationsManager.<PerformOperationAsync>d__13.MoveNext() in D:\\\\Century\\\\Clients\\\\PigglyWiggly\\\\RPMS\\\\PWADC.RPMS\\\\RPMSDEV\\\\RPMS.WebAPI\\\\Infrastructure\\\\RpmsToMainframe\\\\RpmsToMainframeOperationsManager.cs:line 96\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\\r\\n   at RPMS.WebAPI.Controllers.RpmsToMainframe.RpmsToMainframeOperationsController.<UpdateStoreItemPricing>d__43.MoveNext() in D:\\\\Century\\\\Clients\\\\PigglyWiggly\\\\RPMS\\\\PWADC.RPMS\\\\RPMSDEV\\\\RPMS.WebAPI\\\\Controllers\\\\RpmsToMainframe\\\\RpmsToMainframeOperationsController.cs:line 537\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__1`1.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__5.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\\r\\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()\",\n                    \"RemoteStackTraceString\": null,\n                    \"RemoteStackIndex\": 0,\n                    \"ExceptionMethod\": \"8\\nThrowForNonSuccess\\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\\nSystem.Runtime.CompilerServices.TaskAwaiter\\nVoid ThrowForNonSuccess(System.Threading.Tasks.Task)\",\n                    \"HResult\": -2146233088,\n                    \"Source\": \"mscorlib\",\n                    \"WatsonBuckets\": null,\n                    \"SafeSerializationManager\": {\n                        \"m_serializedStates\": [{\n\n                        }]\n                    },\n                    \"CLR_SafeSerializationManager_RealType\": \"System.Net.Http.HttpRequestException, System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\n                }\n            },\n            \"performedAt\": \"2018-09-06T14:29:32.1195316-05:00\"\n        }\n    },\n    \"logAction\": \"RPMS.WebAPI.Entities.LogAction\"\n}","product":["kibana"],"versions":["6.4.0","10.1.1"],"lang":"en","answer_count":2,"view_count":3427,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","05-index-patterns-data-views","13-observability-apm"],"sentiment":"negative","tags":["discover"]}
{"id":"so-44252713","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44252713/is-custom-kibana-plugin-installation-in-aws-elasticsearch-possible","posted_at":"2017-05-30T02:57:20.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"kee","score":4,"kind":"question","title":"Is Custom Kibana plugin installation in AWS ElasticSearch possible?","body":"Is it possible to install a custom plugin for Kibana in AWS ElasticSearch instance?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1664,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-42446678","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42446678/reverse-proxy-of-kibana-behind-nginx-upstream-prematurely-closed-connection","posted_at":"2017-02-24T19:22:23.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"smilin_stan","score":4,"kind":"question","title":"Reverse proxy of kibana behind nginx - &quot;upstream prematurely closed connection&quot;","body":"I have kibana listening on localhost:5601 and if I SSH tunnel to this port I can access kibana in my browser just fine.\n\nI have installed nginx to act as a reverse proxy but having completed the setup all I get is 502 Bad Gateway. The more detailed error in the nginx error log is\n\n*1 upstream prematurely closed connection while reading response header from upstream,\nclient: 1.2.3.4,\nserver: elk.mydomain.com,\nrequest: \"GET /app/kibana HTTP/1.1\",\nupstream: \"http://localhost:5601/app/kibana\"\n\n\nMy nginx config is:\n\nuser nginx;\nworker_processes auto;\nerror_log /var/log/nginx/error.log;\npid /var/run/nginx.pid;\n\n# Load dynamic modules. See /usr/share/nginx/README.fedora.\ninclude /usr/share/nginx/modules/*.conf;\n\nevents {\n    worker_connections 1024;\n}\n\nhttp {\n    log_format  main  '$remote_addr - $remote_user [$time_local] \"$request\" '\n                      '$status $body_bytes_sent \"$http_referer\" '\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n    access_log  /var/log/nginx/access.log  main;\n\n    sendfile            on;\n    tcp_nopush          on;\n    tcp_nodelay         on;\n    keepalive_timeout   65;\n    types_hash_max_size 2048;\n\n    include             /etc/nginx/mime.types;\n    default_type        application/octet-stream;\n\n    # Load modular configuration files from the /etc/nginx/conf.d directory.\n    # See http://nginx.org/en/docs/ngx_core_module.html#include\n    # for more information.\n    include /etc/nginx/conf.d/*.conf;\n\n    index   index.html index.htm;\n}\n\n\nMy kibana.conf file within /etc/nginx/conf.d/ is:\n\nserver {\n\n    listen 80 default_server;\n    server_name elk.mydomain.com;\n\n    auth_basic \"Restricted Access\";\n    auth_basic_user_file /etc/nginx/htpasswd.users;\n\n    location / {\n        proxy_pass http://localhost:5601;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade \\$http_upgrade;\n        proxy_set_header Connection 'upgrade';\n        proxy_set_header Host \\$host;\n        proxy_cache_bypass \\$http_upgrade;\n    }\n}\n\n\nThis is a brand new Amazon Linux EC2 instance with the latest versions of kibana and nginx installed.\n\nHas anyone encountered this problem before? I feel like it's a simple nginx config problem but I just can't see it.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1738,"accepted":false,"category":"04-performance-and-load","secondary_categories":["09-upgrades-and-migration","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-35868203","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35868203/custom-elasticsearch-query-in-kibana","posted_at":"2016-03-08T13:04:59.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Ricardo Peres","score":4,"kind":"question","title":"Custom Elasticsearch Query in Kibana","body":"Is it possible to use a custom Elasticsearch query in Kibana? For example, I have a query that does several aggregations across different types, and I would like to setup a visualization for it. The Kibana UI only allows - AFAIK - relatively simple queries. This would be with the latest versions of ES (2.2.0) and Kibana (4.1.1).","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6143,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["01-dashboard-authoring","02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-29141268","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29141268/searching-elasticsearch-for-first-occurance-of-an-event-each-day","posted_at":"2015-03-19T09:45:28.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"SimonJGreen","score":4,"kind":"question","title":"Searching Elasticsearch for first occurance of an event each day","body":"We use Logstash to receive logs, pass to Elasticsearch, and browse using Kibana. A very common setup.\n\nOne of the fields in each entry is @timestamp, with an example content of 03/18/2015 18:02:52. What filter should I use to display only the first entry of each day?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2217,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-26838093","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/26838093/build-kibana-4-executable-jar-from-source-in-github","posted_at":"2014-11-10T06:36:41.000Z","captured_at":"2026-04-14T13:23:56.218Z","author":"Nithyanand","score":4,"kind":"question","title":"Build Kibana 4 executable jar from source in Github","body":"I wanted to try the latest Kibana 4 from Github and also possibly tweak it a little for our use. What is the process to build and pack Kibana 4's Executable jar including its server from the source on Github? At present the only available release is Kibana 4 beta 1 on Elasticsearch website.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2246,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-61568767","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61568767/elasticsearch-and-kibana-kibana-server-is-not-ready-yet","posted_at":"2020-05-03T02:08:18.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Nayden Van","score":4,"kind":"question","title":"Elasticsearch and Kibana - Kibana server is not ready yet","body":"I looked everywhere for this error but couldnt find any solution to solve it.\n\nI have to ec2 instances running, one with elasticsearch and one with kibana.\n\nin my browser if i access elasticsearch on port 9200 i am able to retrieve the data.\nbut if i do the same thing with kibana, i get \n\n\"Kibana server is not ready yet\"\n\n\ni am not an expert with elastic search and kibana, so if anybody could help me to figure out what am i doing wrong.\n\nI post my templates:\n\nthis is my kibana.yml\n\n# Kibana is served by a back end server. This setting specifies the port to use.\nserver.port: 5601\n\n# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.\n# The default is 'localhost', which usually means remote machines will not be able to connect.\n# To allow connections from remote users, set this parameter to a non-loopback address.\nserver.host: \"0.0.0.0\"\n\n# Enables you to specify a path to mount Kibana at if you are running behind a proxy.\n# Use the `server.rewriteBasePath` setting to tell Kibana if it should remove the basePath\n# from requests it receives, and to prevent a deprecation warning at startup.\n# This setting cannot end in a slash.\n#server.basePath: \"\"\n\n# Specifies whether Kibana should rewrite requests that are prefixed with\n# `server.basePath` or require that they are rewritten by your reverse proxy.\n# This setting was effectively always `false` before Kibana 6.3 and will\n# default to `true` starting in Kibana 7.0.\n#server.rewriteBasePath: false\n\n# The maximum payload size in bytes for incoming server requests.\n#server.maxPayloadBytes: 1048576\n\n# The Kibana server's name.  This is used for display purposes.\n#server.name: \"your-hostname\"\n\n# The URLs of the Elasticsearch instances to use for all your queries.\nelasticsearch.hosts: [\"https://10.0.105.100:9200\"]\n\n\n# When this setting's value is true Kibana uses the hostname specified in the server.host\n# setting. When the value of this setting is false, Kibana uses the hostname of the host\n# that connects to this Kibana instance.\n#elasticsearch.preserveHost: true\n\n# Kibana uses an index in Elasticsearch to store saved searches, visualizations and\n# dashboards. Kibana creates a new index if the index doesn't already exist.\n#kibana.index: \".kibana\"\n\n# The default application to load.\n#kibana.defaultAppId: \"home\"\n\n# If your Elasticsearch is protected with basic authentication, these settings provide\n# the username and password that the Kibana server uses to perform maintenance on the Kibana\n# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which\n# is proxied through the Kibana server.\n#elasticsearch.username: \"kibana\"\n#elasticsearch.password: \"pass\"\n\n# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.\n# These settings enable SSL for outgoing requests from the Kibana server to the browser.\n#server.ssl.enabled: false\n#server.ssl.certificate: /path/to/your/server.crt\n#server.ssl.key: /path/to/your/server.key\n\n# Optional settings that provide the paths to the PEM-format SSL certificate and key files.\n# These files are used to verify the identity of Kibana to Elasticsearch and are required when\n# xpack.security.http.ssl.client_authentication in Elasticsearch is set to required.\n#elasticsearch.ssl.certificate: /path/to/your/client.crt\n#elasticsearch.ssl.key: /path/to/your/client.key\n\n# Optional setting that enables you to specify a path to the PEM file for the certificate\n# authority for your Elasticsearch instance.\n#elasticsearch.ssl.certificateAuthorities: [ \"/path/to/your/CA.pem\" ]\n\n# To disregard the validity of SSL certificates, change this setting's value to 'none'.\n#elasticsearch.ssl.verificationMode: full\n\n# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of\n# the elasticsearch.requestTimeout setting.\n#elasticsearch.pingTimeout: 1500\n\n# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value\n# must be a positive integer.\n#elasticsearch.requestTimeout: 30000\n\n# List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side\n# headers, set this value to [] (an empty list).\n#elasticsearch.requestHeadersWhitelist: [ authorization ]\n\n# Header names and values that are sent to Elasticsearch. Any custom headers cannot be overwritten\n# by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.\n#elasticsearch.customHeaders: {}\n\n# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.\n#elasticsearch.shardTimeout: 30000\n\n# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.\n#elasticsearch.startupTimeout: 5000\n\n# Logs queries sent to Elasticsearch. Requires logging.verbose set to true.\n#elasticsearch.logQueries: false\n\n# Specifies the path where Kibana creates the process ID file.\n#pid.file: /var/run/kibana.pid\n\n# Enables you specify a file where Kibana stores log output.\n#logging.dest: stdout\n\n# Set the value of this setting to true to suppress all logging output.\n#logging.silent: false\n\n# Set the value of this setting to true to suppress all logging output other than error messages.\n#logging.quiet: false\n\n# Set the value of this setting to true to log all events, including system usage information\n# and all requests.\n#logging.verbose: false\n\n# Set the interval in milliseconds to sample system and process performance\n# metrics. Minimum is 100ms. Defaults to 5000.\n#ops.interval: 5000\n\n# Specifies locale to be used for all localizable strings, dates and number formats.\n# Supported languages are the following: English - en , by default , Chinese - zh-CN .\n#i18n.locale: \"en\"\n\n\nand this is my elasticsearch:\n\n# ======================== Elasticsearch Configuration =========================\n#\n# NOTE: Elasticsearch comes with reasonable defaults for most settings.\n#       Before you set out to tweak and tune the configuration, make sure you\n#       understand what are you trying to accomplish and the consequences.\n#\n# The primary way of configuring a node is via this file. This template lists\n# the most important settings you may want to configure for a production cluster.\n#\n# Please consult the documentation for further information on configuration options:\n# https://www.elastic.co/guide/en/elasticsearch/reference/index.html\n#\n# ---------------------------------- Cluster -----------------------------------\n#\n# Use a descriptive name for your cluster:\n#\n#cluster.name: production\n#\n# ------------------------------------ Node ------------------------------------\n#\n# Use a descriptive name for the node:\n#\n#node.name: node-1\n#\n# Add custom attributes to the node:\n#\n#node.attr.rack: r1\n#\n# ----------------------------------- Paths ------------------------------------\n#\n# Path to directory where to store the data (separate multiple locations by comma):\n#\npath.data: /var/lib/elasticsearch\n#\n# Path to log files:\n#\npath.logs: /var/log/elasticsearch\n#\n# ----------------------------------- Memory -----------------------------------\n#\n# Lock the memory on startup:\n#\n#bootstrap.memory_lock: true\n#\n# Make sure that the heap size is set to about half the memory available\n# on the system and that the owner of the process is allowed to use this\n# limit.\n#\n# Elasticsearch performs poorly when the system is swapping the memory.\n#\n# ---------------------------------- Network -----------------------------------\n#\n# Set the bind address to a specific IP (IPv4 or IPv6):\n#\n#network.host: 0.0.0.0\n#\n# Set a custom port for HTTP:\n#\n#http.port: 9200\n#\n# For more information, consult the network module documentation.\n#\n# --------------------------------- Discovery ----------------------------------\n#\n# Pass an initial list of hosts to perform discovery when this node is started:\n# The default list of hosts is [\"127.0.0.1\", \"[::1]\"]\n#\n#discovery.seed_hosts: [\"host1\"]\n#\n# Bootstrap the cluster using an initial set of master-eligible nodes:\n#\n#cluster.initial_master_nodes: [\"node-1\"]\n#\n# For more information, consult the discovery and cluster formation module documentation.\n#\n# ---------------------------------- Gateway -----------------------------------\n#\n# Block initial recovery after a full cluster restart until N nodes are started:\n#\n#gateway.recover_after_nodes: 3\n#\n# For more information, consult the gateway module documentation.\n#\n# ---------------------------------- Various -----------------------------------\n#\n# Require explicit names when deleting indices:\n#\n#action.destructive_requires_name: true\n\ncluster.name: production\nnode.name: node-1\nnetwork.host: 0.0.0.0\nhttp.port: 9200\ndiscovery.seed_hosts: [\"host1\"]\ncluster.initial_master_nodes: [\"10.0.105.100\"]\n\n\nboth elasticsearch and kibana are the same version 7.6.2\n\nany idea please?","product":["kibana"],"versions":["6.3","7.0","10.0","7.6.2"],"lang":"en","answer_count":3,"view_count":24190,"accepted":true,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","01-dashboard-authoring","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-58911548","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58911548/elasticsearch-enable-fulltext-search-of-field","posted_at":"2019-11-18T09:33:53.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"erewien","score":4,"kind":"question","title":"Elasticsearch - Enable fulltext search of field","body":"I have run into a brick wall considering searching in my logged events. I am using an elasticsearch solution, filebeat to load messages from logs to elasticsearch, and Kibana front end. \n\nI currently log the messages into a field message and exception stacktrace (if present) into error.message. So the logged event's snippet may look like:\n\n{\n   \"message\": \"Thrown exception: CustomException (Exception for testing purposes)\"\n   \"error\" : {\n      \"message\" : \"com.press.controller.CustomException: Exception for testing purposes\\n at\n com.press.controller....<you get the idea at this point>\"\n       }\n}\n\n\nOf course there are other fields like timestamp, but those are not important. What is important is this:\n\nWhen I search message : customException, I can find the events I logged. When I search error.message : customException, I do not get the events. I need to be able to fulltext search all fields.\n\nIs there a way how to tell elasticsearch to enable the fulltext search in the fields?\nAnd why has the \"message\" field enabled it by default? None of my colleagues are aware that any indexing command was run on the field in the console after deployment and our privileges do not allow me or other team members to run indexing or analysis commands on any field. So it has to be in the config somewhere. \n\nSo far I was unable to find the solution. Please push me in the right direction. \n\nEdit: \nThe config of fields is as follows:\n\nWe use a modified ECS, and both messages are declared as \n\nlevel: core\ntype: text\n\n\nin file fields.yml. \n\nin filebeat, the config snippet is as such:\n\nfilebeat.inputs:\n- type: log\n  enabled: true\n  paths: .....\n  ...\n  ...\nprocessors:\n- rename:\n  fields:\n  - from: \"msg\" \n    to: \"message\"\n  - from: \"filepath\"\n    to: \"log.file.name\"\n  - from: \"ex\"\n    to: \"error.message\"\n  ignore_missing: true\n  fail_on_error: true\nlogging.level: debug\nlogging.to_files: true\n\n\n\nFor security requirements, I cannot disclose full files. Also, I need to write all the snippets by hand, so misspells are probably my fault.\n\nThanks","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":707,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-56617561","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56617561/how-to-set-kibana-index-pattern-from-filebeat","posted_at":"2019-06-16T09:18:55.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Mitul","score":4,"kind":"question","title":"How to set kibana index pattern from filebeat?","body":"I am using elk stack with a node application. I am sending logs from host to logstash with filebeat, logsstash formats and send data to elastic and kibana reads from elastic. In kibana i see default index pattern like filebeat-2019.06.16. \n\nI want to change this to application-name-filebeat-2019.06.16. But it's not working. I am looking for a way to do it in filebeat since there will be multiple applications/filebeats but one single logstash/elasticsearch/kibana.\n\nI have tried this filebeat configs at filebeat.yml.\n\nfilebeat.inputs:\n- type: log\n  paths:\n    - /var/log/*.log\n  fields:\n    - app_name: myapp\n\noutput.logstash:\n  index: \"%{fields.app_name}-filebeat-%{[agent.version]}-%{+yyyy.MM.dd}\"\n  hosts: [\"${ELK_ENDPOINT}\"]\n  ssl.enabled: true\n  ssl:\n    certificate_authorities:\n      - /etc/pki/tls/certs/logstash-beats.crt\n\nsetup.template.name: \"%{fields.app_name}-filebeat-%{[agent.version]}\"\n\n\n\nsame kind of file will be with each of node appication host and filebeat.\n\nalso logstash is initialized with this configs\n\n02-beats-input.conf\n\ninput {\n  beats {\n    port => 5044\n    codec => \"json\"\n    ssl => true\n    ssl_certificate => \"/etc/pki/tls/certs/logstash-beats.crt\"\n    ssl_key => \"/etc/pki/tls/private/logstash-beats.key\"\n  }\n}\n\n\n\n30-output.conf\n\nfilter {\n  json {\n    source => \"message\"\n  }\n}\n\noutput {\n  elasticsearch {\n    hosts => [\"localhost\"]\n    manage_template => false\n    index => \"%{[@metadata][beat]}-%{+YYYY.MM.dd}\"\n    document_type => \"%{[@metadata][type]}\"\n  }\n}\n\n\n\nit is genarating index pattern like filebeat-2019.06.16. I want something like application-name-filebeat-2019.06.16.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4091,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load","14-siem-and-security","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-48838129","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48838129/what-does-mean-in-elastic-search-documents","posted_at":"2018-02-17T05:17:08.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Sam 山","score":4,"kind":"question","title":"What does @ mean in elastic search documents?","body":"My question is: \"What does the @ mean in elastic search documents?\" @timestamp automatically gets created along with @version. Why is this and what's the point?\n\nHere is some context... I have a web app that writes logs to files. Then I have logstash forward these logs to elastic search. Finally, I use Kibana to visualize everything.\n\nHere is an example of one of the documents in elastic search:\n\n{\n  \"_index\": \"logstash-2018.02.17\",\n  \"_type\": \"doc\",\n  \"_id\": \"0PknomEBajxXe2bTzwxm\",\n  \"_version\": 1,\n  \"_score\": null,\n  \"_source\": {\n    \"@timestamp\": \"2018-02-17T05:06:13.362Z\",\n    \"source\": \"source\",\n    \"@version\": \"1\",\n    \"message\": \"message\",\n    \"env\": \"development\",\n    \"host\": \"127.0.0.1\"\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      \"2018-02-17T05:06:13.362Z\"\n    ]\n  },\n  \"sort\": [\n    1518843973362\n  ]\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":1411,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-46609732","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46609732/configuring-single-kibana-server-for-multiple-elastic-search-clusters","posted_at":"2017-10-06T16:02:55.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Vy Suneel","score":4,"kind":"question","title":"Configuring Single Kibana server for multiple Elastic search clusters","body":"Can I know how to configure Kibana 5.6.2 for multiple Elastic search clusters..? I have two Different Elastic search clusters, one for metadata and another for analytics ..? So I Just want to use same Kibana 5.6.2 server for monitoring both the cluster's..?\nPlease help guys","product":["kibana"],"versions":["5.6.2"],"lang":"en","answer_count":1,"view_count":5763,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-46289774","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/46289774/send-kubernetes-cluster-logs-to-aws-elasticsearch","posted_at":"2017-09-18T23:58:50.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Gayan","score":4,"kind":"question","title":"Send Kubernetes cluster logs to AWS Elasticsearch","body":"I have a testing Kubernetes cluster and I created elasticsearch on AWS which include Kibana for the log management.\n\nEndpoint: https://search-this-is-my-es-wuktx5la4txs7avvo6ypuuyri.ca-central-1.es.amazonaws.com\n\nAs far as I googled, I have to send logs from fluentd. Then I tried to implement DaemonSet using this article. No luck.\n\nCould you please share any good documentation to me, please","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2120,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["14-siem-and-security"],"sentiment":"neutral","tags":[]}
{"id":"so-42566297","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42566297/kibana-stuck-on-loading-screen-update-nginx-only-serving-partial-js-file","posted_at":"2017-03-02T21:26:27.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Jason Joslin","score":4,"kind":"question","title":"Kibana stuck on loading screen [UPDATE - Nginx only serving partial JS file]","body":"Kibana is not starting up properly. When I open up the console it appears to be a javascript resource issue. When I open the js files directly (clicking on their link in the console) it appears they are incomplete and have been abruptly been cut off. Not sure if this is a browser file limit or somehow my files have been cut off? Please see the images below to show you what Im seeing.    \n\n\n\nFile as seen in chrome. This is the very bottom of the file as per how chrome loads it.\n\n\n\nI have restarted kibana to see if that would resolve it, no luck.\n\nI think browsers have a max line limit in js files. I am not sure why kibana hasn't minified the js files? has it started up in some dev mode?\n\nquestion summary\n\nI guess I have discovered the reason for kibana not loading is because of the js not fully loading, this would change my question to how can I get all of my javascript to load?\n\nUpdate\n\nI have located the JS files in the kibana bundles folder and found that the file is fully intact. It is indeed a browser loading complete file issue. I'm confused why suddenly those files are too long to be loaded by the browser? Was working fine a fortnight ago. Still trying to work out how I can get chrome to load the files.\n\nAs suggested by @asettouf I have removed(backed up) bundles folder in the /opt/kibana/optimize directory and started kibana up again. This did re-generate the bundles folder but the files are identical, meaning I still have the same issue. How come Kibana is not minifying the js when it bundles the files for caching?\n\nMy kibana.yml. I think it is cleaner to paste a link to it:\n\n\n  http://www.heypasteit.com/clip/O8HUN\n\n\nwent back turned on verbose logging and this is my output from deleting optimize folder and restarting. nothing stands out as an error message to me.\n\n/var/log/kibana/kibana.log \n\nreplaced hostname with localhost for privacy and security reasons\n\n\n  http://www.heypasteit.com/clip/OA4OR\n\n\nI think this is an error with the webpack module not compiling the JS correctly. however i dont know enough about the module to debug it. \n\nthe files in question in the optimize folder are:\n\ncommons.bundle.js which is 65723 lines\n\nkibana.bundle.js at 108950 lines\n\nThese are far from optimized and the content inside the files are not minified.\n\nResult of curl -v localhost:5601\n\n\n  http://www.heypasteit.com/clip/OEKEX\n\n\nCURL REQUEST DIRECTLY TO KIBANA JS RESOURCES\n\nI can confirm that curl -ukibanaadmin -v http://localhost/bundles/commons.bundle.js returns me the full 108950 lined JS file and curl -ukibanaadmin -v http://actual_kibana_hostname/bundles/commons.bundle.js returns the same content (number of lines) as my browser. \n\nWith that information I can make the assumption that this is not a Kibana issue  at all. As mentioned by @val it is probably a setting in nginx that is preventing the entire file from being served unless accessed by localhost. \n\nI think I can rule out Cloudflare as I still get the issue when I hit my server directly from the browser.\n\nThanks  to everyone's suggestions and help so far. Getting closer and closer to solving my issue. I will do some more research on Nginx and its settings. \n\nNGINX UPDATE\n\nNginx appears to only be loading the first 72kbs of my havascript files. Ive search all around  my nginx config files and cannot see this setting anywhere. Ive added things like \n\nlocation / {\n    ...\n    proxy_max_temp_file_size 1m;\n    ...\n}\n\n\nand\n\nlocation / {\n    ...\n    sendfile on;\n    sendfile_max_chunk 1m;\n\n    ...\n}\n\n\nBut still I'm unable to overwrite this weird setting that is only allowing first part of file being loaded.\n\nThe connection uses nginx proxy_pass to foward port 80 to kibanas port '5601'. I feel like there could be a setting that limits file transfer over proxy? just not sure where to find it.\n\nproxypass connection looks like:\n\nserver {\n    listen 80;\n\n    server_name logs.mydomain.com;\n\n    auth_basic \"Restricted Access\";\n    auth_basic_user_file /etc/nginx/htpasswd.users;\n\n    location / {\n        proxy_pass http://localhost:5601;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection 'upgrade';\n        proxy_set_header Host $host;\n        proxy_cache_bypass $http_upgrade;\n    }\n}\n\n\nAnd my default nginx settings is posted here.\n\n/etc/nginx/nginx.conf\n\n\n  http://www.heypasteit.com/clip/OEKIR\n\n\nI have tried adding sendfile_max_chunk 512k and changed worker_processes from 4 to 2. Any other config things were already there. I was not the the one who initially set up the ELK stack.\n\nAnd after the mentioned changes it looks like this:\n\n/etc/nginx/nginx.conf\n\n\n  http://www.heypasteit.com/clip/OEKF0 \n\n\nERROR RETURNED - DISK SPACE UPDATE\n\nThis issue has come back. When I checked the VMs health I noticed that the disk drive was full. Elasticsearch was logging a couple of GBs worth of text in to error logs each day. I still Have not fully identified why elastic search is flooding the error logs.\n\nBut I think excessive disk space usage has contributed to this error. Nginx could be detecting this and switching over to minimal safe configuration which would only allow 72kbs of data to be served per file.\n\nWhen I cleared out the excessive logs i stopped getting the incomplete js error  without needing to restart nginx or kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":5397,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","09-upgrades-and-migration","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-36926264","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36926264/kibana-is-there-a-way-to-get-dashboards-from-command-line","posted_at":"2016-04-28T22:01:56.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"AbtPst","score":4,"kind":"question","title":"Kibana : Is there a way to get dashboards from command line?","body":"In Kibana Settings/Objects menu, i can see all of my dashboards, charts and searches.\n\nI can choose to export one or more of them and then i get a JSON object representing that item.\n\nIs there a way to do this from command line? Where are the dashboards stored in elasticsearch? Is there a way to access them using the .kibana index?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5678,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["01-dashboard-authoring","06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-31565834","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31565834/whats-the-good-architecture-for-elk","posted_at":"2015-07-22T14:20:16.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Matthewgao","score":4,"kind":"question","title":"What&#39;s the good architecture for ELK?","body":"I am trying to use ELK to build a log analysis system. I see a lot of architecture which use ELK in different way. one of them is \n\nLogstash->Redis->Logstash->Elasticseach->Kibana\n\nThe first Logstash is used for collecting logs, the second Logstash is used for filter logs. \n\nI am not very clear about the Redis, Do we have to use it? Why not using Kafka?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5503,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-30849684","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30849684/kibana-4-proxy-dashboard-embedding","posted_at":"2015-06-15T15:56:59.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"David S.","score":4,"kind":"question","title":"Kibana 4 proxy dashboard embedding","body":"Context\nI am embedding a Kibana 4 dashboard at several places in a web app I am working on using Node.js and Express. The embedding is context-dependent, meaning that depending on where the dashboard is embedded, the query to Elasticsearch changes.\nMoreover, some pages where dashboards are embedded are limited to some users who have the right permissions.\nAs there is no authentication implemented yet in Kibana 4, by changing the query in the dashboard embed URL, any user could show the dashboard of a page they don't have access.\nOur solution\nThe idea is to block any external connection to Kibana (port 5601) and to have a custom URL going through our web app and check the user permissions (kind of a proxy). And if the user has the permission, then our web app forward the HTTP queries to Kibana. As our web app and Kibana are on the same server, these queries are not blocked.\nTo route the custom URL and check the permission, we have the following:\napp.route('/items/:itemId/analytics/*')\n   .all(api.requiresAccess('user'),\n        api.requiresPermissions('item', 'modify'),\n        items.getAnalytics);\n\nThen we use Request in the getAnalytics function:\nexports.getAnalytics = function (req, res) {\n  var itemId = req.item.id;\n  var kibanaParamsRegexp = /analytics\\/(.*)/;\n  var kibanaParamsMatch = kibanaParamsRegexp.exec(req.originalUrl);\n  var kibanaParams = kibanaParamsMatch[1];\n  var method = req.method;\n  var dashboardId = 'Standard-Dashboard';\n\n  var kibanaDashboardURL = 'http://localhost:5601';\n\n  \n  if (kibanaParams === '') { // First request to get the dashboard\n    kibanaDashboardURL += '/#/dashboard/' + dashboardId + '?embed' +\n    '&_a=(query:(query_string:(analyze_wildcard:!t,query:\\'path:' + itemId + '\\')))' +\n    '&_g=(time:(from:now-1y,mode:quick,to:now))';\n  } else { // Following requests to get the dashboard\n    kibanaDashboardURL += '/' + kibanaParams;\n  }\n\n  app.logger.info('Received from the dashboard: ' + req.originalUrl);\n  app.logger.info('Requesting to Kibana: ' + kibanaDashboardURL);\n  app.logger.info('Query body: ' + JSON.stringify(req.body));\n\n  if (method === 'POST') {\n    var options = {\n      url: kibanaDashboardURL,\n      json: true,\n      body: req.body\n    };\n\n    request.post(options,\n      function (err, httpResponse, body) {\n        if (err) {\n          return console.log('POST failed: ', err);\n        }\n        console.log('POST successful. Sever response: ', body);\n      }).pipe(res);\n  } else if (method === 'GET' || method === 'HEAD') {\n    request.get(kibanaDashboardURL).pipe(res);\n  }\n};\n\nTherefore, instead of http://localhost:5601/#/dashboard/Standard-dashboard?embed&_a=(query:(query_string:(analyze_wildcard:!t,query:'path: 5539e831b5b79bf9f4b06a3c')))&_g=(time:(from:now-1y,mode:quick,to:now)),\n\nI have to use http://localhost:8000/items/5539e831b5b79bf9f4b06a3c/analytics/ which checks the permissions.\nThe problem\nThe first requests, which are mainly GETs and a few POSTs, are passing without problem. But at some point I have a POST request that receives back a 500 Internal Sever error in response to the request, which stops the dashboard loading.\nTo try to find the issue I compared the network traffic (in the web inspector) between the load of the dashboard with the original Kibana URL and the redirected URL through the web app. The beginning is identical, but at some point (before the request receiving a 500 error back), the dashboard load through the original URL makes a request that is not done with the redirected URL. The request is a POST to http://localhost:5601/elasticsearch/_mget?timeout=0&ignore_unavailable=true&preference=1434374357241 with the following body:\n\n{\"docs\":[{\"_index\":\".kibana\",\"_type\":\"dashboard\",\"_id\":\"Standard-Dashboard\"}]}.\nThis request seem quite important as it contains the dashboard id and I suppose that its absence is what generate the 500 error later on. But I don't know why this request is not sent when I redirect the queries through the web app.\nI also have tried with the modules http-proxy and express-http-proxy but I am facing the same issues.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2963,"accepted":false,"category":"04-performance-and-load","secondary_categories":["06-sharing-and-export","10-docs-and-ux","01-dashboard-authoring"],"sentiment":"negative","tags":[]}
{"id":"so-30496431","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30496431/how-to-make-kibana-dashboard-to-autocomplete-my-document-fields","posted_at":"2015-05-28T02:55:29.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Ahffan kondeth","score":4,"kind":"question","title":"How to make Kibana dashboard to autocomplete my document fields","body":"I have an index with many field names. Im using Kibana 3 to visualise the analytics from the said index. Since I have a lot of fields,im finding it difficult to set the field names,each time I do some analytics in Kibana. Does Kibana provide an autocomplete,feature which enable me for inputting my fields easily?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":864,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-23753477","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23753477/how-to-draw-moving-averages-on-kibana-dashboard","posted_at":"2014-05-20T07:27:51.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"shihpeng","score":4,"kind":"question","title":"How to draw moving averages on Kibana dashboard?","body":"I would like to know that is there any way (or workaround) to draw moving average on Kibana dashboard?\n\nI have read all the documents on the official site and nothing about moving average (or advanced charts) are mentioned. \n\nAny information or keywords will be helpful, thanks in advance:)","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4536,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-21292284","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21292284/is-the-timestamp-field-needed-when-using-logstash-to-store-in-elasticsearch","posted_at":"2014-01-22T19:35:28.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"John","score":4,"kind":"question","title":"Is the @timestamp field needed when using Logstash to store in Elasticsearch?","body":"I have the following setup: I have a Java tool which sends JSON messages to RabbitMQ. They look like this:\n\n{\n\"a\": 0,\n\"b\": 1,\n\"c\": 2\n}\n\n\nNow I use Logstash to read the RabbitMQ queue and store them into Elasticsearch, so I can analyze the data with Kibana. The JSON stored in Elasticsearch looks like this:\n\n{\n\"a\": 0,\n\"b\": 1,\n\"c\": 2,\n\"@version\": \"1\",\n\"@timestamp\": \"2014-01-22T19:05:19.136Z\"\n}\n\n\nI don't think the @timestamp field will be of any use for what I'm doing. When I use cURL to store the same JSON in Elasticsearch, only the @version field is there, the @timestamp field is not present. Is there any way to configure Logstash to not save @timestamp?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4037,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-75787311","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/75787311/i-am-trying-to-find-a-suitable-promql-on-thanos-query-which-will-give-me-the-cou","posted_at":"2023-03-20T06:54:08.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Soumik Laik","score":4,"kind":"question","title":"I am trying to find a suitable promQL on Thanos Query which will give me the count of Readiness and Liveness Probe failures","body":"I am trying to migrate a dashboard which shows the count of Readiness and Liveness Probe Failures, from Kibana(ElasticSearch) to a Grafana Dashboard(Sauron). In kibana the we can get both the probe failures separately using kubernetes.event.message : Liveness probe failed for Liveness failure and similar event message for Readiness, but in Sauron or Thanos (which acts as the datasource for Grafana) k8's event messages are not picked up. So I am unable to find a suitable promQL which will give me the count of both the probe failures individually.\nThe closest promQL I have found is kube_event_count{reason=\"Unhealthy\"} which is giving me the sum of the count of both the probe failures. I need the count of the probe failures individually. Another promQL that I have tried is kube_pod_container_status_ready which probably gives the readiness status of the containers but I am not sure about it.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":801,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-66946925","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66946925/kibana-server-is-not-ready-yet-security-exception-unable-to-authenticate-use","posted_at":"2021-04-05T00:09:19.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Steve","score":4,"kind":"question","title":"Kibana server is not ready yet - [security_exception] unable to authenticate user [elastic]","body":"What happen is I tried to add user for ElasticSearch and Kibana. For ElasticSearch, I added xpack.security.enabled: true at elasticsearch.yml and elasticsearch.username: \"elastic\" and elasticsearch.password: \"ipF2vorNqvRgXTjuptqS\" in kibana.yml.\nWhen I start ElasticSearch, I was prompted to key in username and password. I did so and successfully login.\nBut when I start Kibana, in the log I get this error:  [warning][licensing][plugins] License information could not be obtained from Elasticsearch due to [security_exception] unable to authenticate user [elastic] for REST request [/_xpack]\nAt http://localhost:5601, I got this error Kibana server is not ready yet\nTo troubleshoot, I run http://localhost:9200/_security/user/ and I get\n{\n   \"elastic\":{\n      \"username\":\"elastic\",\n      \"roles\":[\n         \"superuser\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"kibana\":{\n      \"username\":\"kibana\",\n      \"roles\":[\n         \"kibana_system\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_deprecated\":true,\n         \"_deprecated_reason\":\"Please use the [kibana_system] user instead.\",\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"kibana_system\":{\n      \"username\":\"kibana_system\",\n      \"roles\":[\n         \"kibana_system\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"logstash_system\":{\n      \"username\":\"logstash_system\",\n      \"roles\":[\n         \"logstash_system\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"beats_system\":{\n      \"username\":\"beats_system\",\n      \"roles\":[\n         \"beats_system\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"apm_system\":{\n      \"username\":\"apm_system\",\n      \"roles\":[\n         \"apm_system\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   },\n   \"remote_monitoring_user\":{\n      \"username\":\"remote_monitoring_user\",\n      \"roles\":[\n         \"remote_monitoring_collector\",\n         \"remote_monitoring_agent\"\n      ],\n      \"full_name\":null,\n      \"email\":null,\n      \"metadata\":{\n         \"_reserved\":true\n      },\n      \"enabled\":true\n   }\n}\n\nI follow the steps to setup my password at elasticsearch.\nD:\\elasticsearch\\bin>elasticsearch-setup-passwords auto\nfuture versions of Elasticsearch will require Java 11; your Java version from [C:\\Program Files\\Java\\jdk1.8.0_251\\jre] does not meet this requirement\nInitiating the setup of passwords for reserved users elastic,apm_system,kibana,kibana_system,logstash_system,beats_system,remote_monitoring_user.\nThe passwords will be randomly generated and printed to the console.\nPlease confirm that you would like to continue [y/N]y\n\n\nChanged password for user apm_system\nPASSWORD apm_system = TCxggBZ1O8u7pCYMQZx3\n\nChanged password for user kibana_system\nPASSWORD kibana_system = G48r4h6M6WjLnjzPqjAG\n\nChanged password for user kibana\nPASSWORD kibana = G48r4h6M6WjLnjzPqjAG\n\nChanged password for user logstash_system\nPASSWORD logstash_system = UQZTsQrN84jQuzCKnOSc\n\nChanged password for user beats_system\nPASSWORD beats_system = wC5h5tShmOuouJ072owM\n\nChanged password for user remote_monitoring_user\nPASSWORD remote_monitoring_user = VHqOCfKuxbCCjbEMTWQZ\n\nChanged password for user elastic\nPASSWORD elastic = ipF2vorNqvRgXTjuptqS\n\nHow do I troubleshoot this further or solve this? Should I use \"elastic\" or \"kibana_system\" as username in kibana.yml?\nThis is kibana.yml\n# Kibana is served by a back end server. This setting specifies the port to use.\n#server.port: 5601\n\n# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.\n# The default is 'localhost', which usually means remote machines will not be able to connect.\n# To allow connections from remote users, set this parameter to a non-loopback address.\n#server.host: \"localhost\"\n\n# Enables you to specify a path to mount Kibana at if you are running behind a proxy.\n# Use the `server.rewriteBasePath` setting to tell Kibana if it should remove the basePath\n# from requests it receives, and to prevent a deprecation warning at startup.\n# This setting cannot end in a slash.\n#server.basePath: \"\"\n\n# Specifies whether Kibana should rewrite requests that are prefixed with\n# `server.basePath` or require that they are rewritten by your reverse proxy.\n# This setting was effectively always `false` before Kibana 6.3 and will\n# default to `true` starting in Kibana 7.0.\n#server.rewriteBasePath: false\n\n# The maximum payload size in bytes for incoming server requests.\n#server.maxPayloadBytes: 1048576\n\n# The Kibana server's name.  This is used for display purposes.\n#server.name: \"your-hostname\"\n\n# The URLs of the Elasticsearch instances to use for all your queries.\n#elasticsearch.hosts: [\"http://localhost:9200\"]\n\n# When this setting's value is true Kibana uses the hostname specified in the server.host\n# setting. When the value of this setting is false, Kibana uses the hostname of the host\n# that connects to this Kibana instance.\n#elasticsearch.preserveHost: true\n\n# Kibana uses an index in Elasticsearch to store saved searches, visualizations and\n# dashboards. Kibana creates a new index if the index doesn't already exist.\n#kibana.index: \".kibana\"\n\n# The default application to load.\n#kibana.defaultAppId: \"home\"\n\n# If your Elasticsearch is protected with basic authentication, these settings provide\n# the username and password that the Kibana server uses to perform maintenance on the Kibana\n# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which\n# is proxied through the Kibana server.\nelasticsearch.username: \"elastic\"\nelasticsearch.password: \"ipF2vorNqvRgXTjuptqS\"\n\n# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.\n# These settings enable SSL for outgoing requests from the Kibana server to the browser.\n#server.ssl.enabled: false\n#server.ssl.certificate: /path/to/your/server.crt\n#server.ssl.key: /path/to/your/server.key\n\n# Optional settings that provide the paths to the PEM-format SSL certificate and key files.\n# These files are used to verify the identity of Kibana to Elasticsearch and are required when\n# xpack.security.http.ssl.client_authentication in Elasticsearch is set to required.\n#elasticsearch.ssl.certificate: /path/to/your/client.crt\n#elasticsearch.ssl.key: /path/to/your/client.key\n\n# Optional setting that enables you to specify a path to the PEM file for the certificate\n# authority for your Elasticsearch instance.\n#elasticsearch.ssl.certificateAuthorities: [ \"/path/to/your/CA.pem\" ]\n\n# To disregard the validity of SSL certificates, change this setting's value to 'none'.\n#elasticsearch.ssl.verificationMode: full\n\n# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of\n# the elasticsearch.requestTimeout setting.\n#elasticsearch.pingTimeout: 1500\n\n# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value\n# must be a positive integer.\n#elasticsearch.requestTimeout: 30000\n\n# List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side\n# headers, set this value to [] (an empty list).\n#elasticsearch.requestHeadersWhitelist: [ authorization ]\n\n# Header names and values that are sent to Elasticsearch. Any custom headers cannot be overwritten\n# by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.\n#elasticsearch.customHeaders: {}\n\n# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.\n#elasticsearch.shardTimeout: 30000\n\n# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.\n#elasticsearch.startupTimeout: 5000\n\n# Logs queries sent to Elasticsearch. Requires logging.verbose set to true.\n#elasticsearch.logQueries: false\n\n# Specifies the path where Kibana creates the process ID file.\n#pid.file: /var/run/kibana.pid\n\n# Enables you to specify a file where Kibana stores log output.\n#logging.dest: stdout\n\n# Set the value of this setting to true to suppress all logging output.\n#logging.silent: false\n\n# Set the value of this setting to true to suppress all logging output other than error messages.\n#logging.quiet: false\n\n# Set the value of this setting to true to log all events, including system usage information\n# and all requests.\n#logging.verbose: false\n\n# Set the interval in milliseconds to sample system and process performance\n# metrics. Minimum is 100ms. Defaults to 5000.\n#ops.interval: 5000\n\n# Specifies locale to be used for all localizable strings, dates and number formats.\n# Supported languages are the following: English - en , by default , Chinese - zh-CN .\n#i18n.locale: \"en\"\n\n#elasticsearch.username: \"elastic\"\n#elasticsearch.password: \"ipF2vorNqvRgXTjuptqS\"\n\n#elasticsearch.username: \"kibana_system\"\n#elasticsearch.password: \"kibanapassword\"","product":["kibana"],"versions":["6.3","7.0"],"lang":"en","answer_count":2,"view_count":24644,"accepted":false,"category":"13-observability-apm","secondary_categories":["15-plugin-and-ecosystem","04-performance-and-load","10-docs-and-ux"],"sentiment":"negative","tags":["license"]}
{"id":"so-57361782","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57361782/fluentd-logs-is-full-of-backslash-and-kibana-doesnt-show-k8s-pods-logs","posted_at":"2019-08-05T15:33:37.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"AVarf","score":4,"kind":"question","title":"Fluentd logs is full of backslash and kibana doesn&#39;t show k8s pods logs","body":"I set up an EFK stack for gathering my different k8s pods logs based on this tutorial on a Microk8s single node cluster. Everything is up and working and I can connect kibanna to elasticsearch and see the indexes but in the discovery section of kibana there is no log related to my pods and there are kubelete logs.\n\nWhen I checked the logs of fluentd I saw that it is full of backslashes:\n\n2019-08-05 15:23:17 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \"2019-08-05T17:23:10.167379794+02:00 stdout P 2019-08-05 15:23:10 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\"2019-08-05T17:23:07.09726655+02:00 stdout P 2019-08-05 15:23:07 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\\\\\"2019-08-05T17:23:04.433817307+02:00 stdout P 2019-08-05 15:23:04 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\\\\\\\\\\\\\"2019-08-05T17:22:52.546188522+02:00 stdout P 2019-08-05 15:22:52 +0000 [warn]: #0 [in_tail_container_logs] pattern not match: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"2019-08-05T17:22:46.694679863+02:00 stdout F \n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\n\nCan someone please tell me what I am doing wrong and where all those backslashes are coming from?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2332,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-55406128","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55406128/logging-net-core-with-elastic-stack","posted_at":"2019-03-28T20:12:53.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"ShaneKm","score":4,"kind":"question","title":"Logging .net Core with Elastic stack","body":"Trying to set up simple logging with Filebeats, Logstash and be able to view logs in Kibana. Running a simple mvc .net core app with log4net as logger. log4net FileAppender appending logs to C:\\Logs\\Debug.log just fine. However not able to push those to Kibana.\n\nBased on this artice here, I would set up filebeats, then transform log via logstash and be able to view my logs in Kibana.\n\n\nlogstash.yml\n\n\n\r\n\r\n- module: logstash\r\n  # logs\r\n  log:\r\n    enabled: true\r\n    #var.paths: [\"C:/Logs/Debug.log\"] - THIS CAUSES ERRROS - should this be UNCOMMENTED?\r\n    \r\n    # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.\r\n    #var.convert_timezone: false\r\n\r\n  # Slow logs\r\n  slowlog:\r\n   enabled: true\r\n    #var.paths: [\"C:/Logs/Debug.log\"]\r\n\r\n    # Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.\r\n    #var.convert_timezone: false\r\n\r\n\r\n\n\n\nlogstash-sample.conf\n\n\n\r\n\r\n# Sample Logstash configuration for creating a simple\r\n# Beats -> Logstash -> Elasticsearch pipeline.\r\n\r\ninput { \r\n    file {\r\n        path => \"C:\\Logs\\Debug.log\"\r\n\ttype => \"log4net\"\r\n        codec => multiline {\r\n                    pattern => \"^(DEBUG|WARN|ERROR|INFO|FATAL)\"\r\n                    negate => true\r\n                    what => previous\r\n                }\r\n      }\r\n}\r\nfilter {\r\n  if [type] == \"log4net\" {\r\n    grok {\r\n      match => [ \"message\", \"(?m)%{LOGLEVEL:level} %{TIMESTAMP_ISO8601:sourceTimestamp} %{DATA:logger} \\[%{NUMBER:threadId}\\]  \\[%{IPORHOST:tempHost}\\] %{GREEDYDATA:tempMessage}\" ]\r\n    }\r\n    mutate {\r\n        replace => [ \"message\" , \"%{tempMessage}\" ]\r\n        replace => [ \"host\" , \"%{tempHost}\" ]\r\n        remove_field => [ \"tempMessage\" ]\r\n        remove_field => [ \"tempHost\" ]\r\n    }\r\n  }\r\n}\r\noutput {\r\n  elasticsearch {\r\n    host => localhost\r\n    index => \"%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}\"\r\n    #user => \"elastic\"\r\n    #password => \"changeme\"\r\n  }\r\n}\r\n\r\n\r\n\n\nRunning logstash with config-sample output:\n\n\n\nFilebeat.yml\n\n\n\r\n\r\n###################### Filebeat Configuration Example #########################\r\n\r\n# This file is an example configuration file highlighting only the most common\r\n# options. The filebeat.reference.yml file from the same directory contains all the\r\n# supported options with more comments. You can use it as a reference.\r\n#\r\n# You can find the full configuration reference here:\r\n# https://www.elastic.co/guide/en/beats/filebeat/index.html\r\n\r\n# For more available modules and options, please see the filebeat.reference.yml sample\r\n# configuration file.\r\n\r\n#=========================== Filebeat inputs =============================\r\n\r\nfilebeat.inputs:\r\n\r\n# Each - is an input. Most options can be set at the input level, so\r\n# you can use different inputs for various configurations.\r\n# Below are the input specific configurations.\r\n\r\n- type: log\r\n\r\n  # Change to true to enable this input configuration.\r\n  enabled: false\r\n\r\n  # Paths that should be crawled and fetched. Glob based paths.\r\n  paths:\r\n    #- /var/log/*.log\r\n    - c:\\Logs\\*.log\r\n\r\n  # Exclude lines. A list of regular expressions to match. It drops the lines that are\r\n  # matching any regular expression from the list.\r\n  #exclude_lines: ['^DBG']\r\n\r\n  # Include lines. A list of regular expressions to match. It exports the lines that are\r\n  # matching any regular expression from the list.\r\n  #include_lines: ['^ERR', '^WARN']\r\n\r\n  # Exclude files. A list of regular expressions to match. Filebeat drops the files that\r\n  # are matching any regular expression from the list. By default, no files are dropped.\r\n  #exclude_files: ['.gz$']\r\n\r\n  # Optional additional fields. These fields can be freely picked\r\n  # to add additional information to the crawled log files for filtering\r\n  #fields:\r\n  #  level: debug\r\n  #  review: 1\r\n\r\n  ### Multiline options\r\n\r\n  # Multiline can be used for log messages spanning multiple lines. This is common\r\n  # for Java Stack Traces or C-Line Continuation\r\n\r\n  # The regexp Pattern that has to be matched. The example pattern matches all lines starting with [\r\n  #multiline.pattern: ^\\[\r\n\r\n  # Defines if the pattern set under pattern should be negated or not. Default is false.\r\n  #multiline.negate: false\r\n\r\n  # Match can be set to \"after\" or \"before\". It is used to define if lines should be append to a pattern\r\n  # that was (not) matched before or after or as long as a pattern is not matched based on negate.\r\n  # Note: After is the equivalent to previous and before is the equivalent to to next in Logstash\r\n  #multiline.match: after\r\n\r\n\r\n#============================= Filebeat modules ===============================\r\n\r\nfilebeat.config.modules:\r\n  # Glob pattern for configuration loading\r\n  path: ${path.config}/modules.d/*.yml\r\n\r\n  # Set to true to enable config reloading\r\n  reload.enabled: false\r\n\r\n  # Period on which files under path should be checked for changes\r\n  #reload.period: 10s\r\n\r\n#==================== Elasticsearch template setting ==========================\r\n\r\nsetup.template.settings:\r\n  index.number_of_shards: 3\r\n  #index.codec: best_compression\r\n  #_source.enabled: false\r\n\r\n#================================ General =====================================\r\n\r\n# The name of the shipper that publishes the network data. It can be used to group\r\n# all the transactions sent by a single shipper in the web interface.\r\n#name:\r\n\r\n# The tags of the shipper are included in their own field with each\r\n# transaction published.\r\n#tags: [\"service-X\", \"web-tier\"]\r\n\r\n# Optional fields that you can specify to add additional information to the\r\n# output.\r\n#fields:\r\n#  env: staging\r\n\r\n\r\n#============================== Dashboards =====================================\r\n# These settings control loading the sample dashboards to the Kibana index. Loading\r\n# the dashboards is disabled by default and can be enabled either by setting the\r\n# options here, or by using the `-setup` CLI flag or the `setup` command.\r\n#setup.dashboards.enabled: false\r\n\r\n# The URL from where to download the dashboards archive. By default this URL\r\n# has a value which is computed based on the Beat name and version. For released\r\n# versions, this URL points to the dashboard archive on the artifacts.elastic.co\r\n# website.\r\n#setup.dashboards.url:\r\n\r\n#============================== Kibana =====================================\r\n\r\n# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.\r\n# This requires a Kibana endpoint configuration.\r\nsetup.kibana:\r\n  host: \"localhost:5601\"\r\n\r\n  # Kibana Host\r\n  # Scheme and port can be left out and will be set to the default (http and 5601)\r\n  # In case you specify and additional path, the scheme is required: http://localhost:5601/path\r\n  # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601\r\n  #host: \"localhost:5601\"\r\n\r\n  # Kibana Space ID\r\n  # ID of the Kibana Space into which the dashboards should be loaded. By default,\r\n  # the Default Space will be used.\r\n  #space.id:\r\n\r\n#============================= Elastic Cloud ==================================\r\n\r\n# These settings simplify using filebeat with the Elastic Cloud (https://cloud.elastic.co/).\r\n\r\n# The cloud.id setting overwrites the `output.elasticsearch.hosts` and\r\n# `setup.kibana.host` options.\r\n# You can find the `cloud.id` in the Elastic Cloud web UI.\r\n#cloud.id:\r\n\r\n# The cloud.auth setting overwrites the `output.elasticsearch.username` and\r\n# `output.elasticsearch.password` settings. The format is `<user>:<pass>`.\r\n#cloud.auth:\r\n\r\n#================================ Outputs =====================================\r\n\r\n# Configure what output to use when sending the data collected by the beat.\r\n\r\n#-------------------------- Elasticsearch output ------------------------------\r\n#output.elasticsearch:\r\n  # Array of hosts to connect to.\r\n # hosts: [\"localhost:9200\"]\r\n\r\n  # Enabled ilm (beta) to use index lifecycle management instead daily indices.\r\n  #ilm.enabled: false\r\n\r\n  # Optional protocol and basic auth credentials.\r\n  #protocol: \"https\"\r\n  #username: \"elastic\"\r\n  #password: \"changeme\"\r\n#----------------------------- Logstash output --------------------------------\r\noutput.logstash:\r\n  # The Logstash hosts\r\n  hosts: [\"localhost:5044\"]\r\n\r\n  # Optional SSL. By default is off.\r\n  # List of root certificates for HTTPS server verifications\r\n  #ssl.certificate_authorities: [\"/etc/pki/root/ca.pem\"]\r\n\r\n  # Certificate for SSL client authentication\r\n  #ssl.certificate: \"/etc/pki/client/cert.pem\"\r\n\r\n  # Client Certificate Key\r\n  #ssl.key: \"/etc/pki/client/cert.key\"\r\n\r\n#================================ Processors =====================================\r\n\r\n# Configure processors to enhance or manipulate events generated by the beat.\r\n\r\nprocessors:\r\n  - add_host_metadata: ~\r\n  - add_cloud_metadata: ~\r\n\r\n#================================ Logging =====================================\r\n\r\n# Sets log level. The default log level is info.\r\n# Available log levels are: error, warning, info, debug\r\n#logging.level: debug\r\n\r\n# At debug level, you can selectively enable logging only for some components.\r\n# To enable all selectors use [\"*\"]. Examples of other selectors are \"beat\",\r\n# \"publish\", \"service\".\r\n#logging.selectors: [\"*\"]\r\n\r\n#============================== Xpack Monitoring ===============================\r\n# filebeat can export internal metrics to a central Elasticsearch monitoring\r\n# cluster.  This requires xpack monitoring to be enabled in Elasticsearch.  The\r\n# reporting is disabled by default.\r\n\r\n# Set to true to enable the monitoring reporter.\r\n#xpack.monitoring.enabled: false\r\n\r\n# Uncomment to send the metrics to Elasticsearch. Most settings from the\r\n# Elasticsearch output are accepted here as well. Any setting that is not set is\r\n# automatically inherited from the Elasticsearch output configuration, so if you\r\n# have the Elasticsearch output configured, you can simply uncomment the\r\n# following line.\r\n#xpack.monitoring.elasticsearch:\r\n\r\n\r\n\n\nOutput from my Browser windows:\n\n\n\nI see my mvc app logging just fine (log4net) logs in C:\\Logs\\Debug.log, however not able to set it up so that these show up in Kibana.\nHow would I set it up so that I would see my logs in Kibana?\n\nEDIT 1:\n\n\nlogstash.config\n\r\n\r\n# Sample Logstash configuration for creating a simple\r\n# Beats -> Logstash -> Elasticsearch pipeline.\r\n\r\ninput {\r\n  beats {\r\n    port => 5044\r\n  }\r\n}\r\nfilter {\r\n  grok {      \r\n      match => { \"message\" => \"(?m)^%{TIMESTAMP_ISO8601:timestamp}~~\\[%{DATA:thread}\\]~~\\[%{DATA:user}\\]~~\\[%{DATA:requestId}\\]~~\\[%{DATA:userHost}\\]~~\\[%{DATA:requestUrl}\\]~~%{DATA:level}~~%{DATA:logger}~~%{DATA:logmessage}~~%{DATA:exception}\\|\\|\" }\r\n      add_field => { \r\n        \"received_at\" => \"%{@timestamp}\" \r\n        \"received_from\" => \"%{host}\"\r\n      }\r\n      remove_field => [\"message\"]      \r\n    }\r\n  date {\r\n    match => [ \"timestamp\", \"yyyy-MM-dd HH:mm:ss:SSS\" ]\r\n  }\r\n}\r\noutput {\r\n  elasticsearch {\r\n\thosts => [\"http://localhost:9200\"]\r\n\tsniffing => true\r\n    index => \"%{app_name}_%{app_env}_%{type}-%{+YYYY.MM.dd}\"\r\n\tdocument_type => \"%{[@metadata][type]}\"\r\n    #user => \"elastic\"\r\n    #password => \"changeme\"\r\n  }\r\n  stdout { codec => rubydebug }\r\n}\r\n\r\n\r\n\nfilebeat.yml\n\n\n\r\n\r\nfilebeat.inputs:\r\n\r\n# Each - is an input. Most options can be set at the input level, so\r\n# you can use different inputs for various configurations.\r\n# Below are the input specific configurations.\r\n\r\n- type: log\r\n\r\n  # Change to true to enable this input configuration.\r\n  enabled: true\r\n\r\n  # Paths that should be crawled and fetched. Glob based paths.\r\n  paths:\r\n    #- /var/log/*.log\r\n    - c:\\Logs\\*.log\r\n    \r\n   .....\r\n   \r\n#-------------------------- Elasticsearch output ------------------------------\r\n#output.elasticsearch:\r\n  # Array of hosts to connect to.\r\n  #hosts: [\"localhost:9200\"]\r\n\r\n  # Enabled ilm (beta) to use index lifecycle management instead daily indices.\r\n  #ilm.enabled: false\r\n\r\n  # Optional protocol and basic auth credentials.\r\n  #protocol: \"https\"\r\n  #username: \"elastic\"\r\n  #password: \"changeme\"\r\n#----------------------------- Logstash output --------------------------------\r\noutput.logstash:\r\n  # The Logstash hosts\r\n  hosts: [\"localhost:5044\"]\r\n\r\n\r\n\n\nI have filebeats enabled/running as service. Also logstash running (see powershell window below). When I change anything in Debug.log file and save, i see those changes being output to console right away.\n\n\n\nHowever, when I go to dashboard I do not see any logs still. What am I doing wrong?","product":["kibana"],"versions":["6.1","6.0.0"],"lang":"en","answer_count":1,"view_count":6886,"accepted":true,"category":"04-performance-and-load","secondary_categories":["13-observability-apm","06-sharing-and-export","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-54038561","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54038561/nginx-to-proxy-elk","posted_at":"2019-01-04T11:59:00.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"bad rabbit","score":4,"kind":"question","title":"nginx to proxy ELK","body":"I'm trying to proxy a backend server running ELK. Here's my environment info:\n\nroot@proxy:~#\nroot@proxy:~# cat /etc/*release\nDISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=18.04\nDISTRIB_CODENAME=bionic\nDISTRIB_DESCRIPTION=\"Ubuntu 18.04.1 LTS\"\nNAME=\"Ubuntu\"\nVERSION=\"18.04.1 LTS (Bionic Beaver)\"\nID=ubuntu\nID_LIKE=debian\nPRETTY_NAME=\"Ubuntu 18.04.1 LTS\"\nVERSION_ID=\"18.04\"\nHOME_URL=\"https://www.ubuntu.com/\"\nSUPPORT_URL=\"https://help.ubuntu.com/\"\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\nVERSION_CODENAME=bionic\nUBUNTU_CODENAME=bionic\nroot@proxy:~#\nroot@proxy:~# nginx -v\nnginx version: nginx/1.14.0 (Ubuntu)\nroot@proxy:~#\nroot@proxy:~# cat /etc/nginx/nginx.conf\nuser www-data;\nworker_processes auto;\npid /run/nginx.pid;\ninclude /etc/nginx/modules-enabled/*.conf;\nevents {\n        worker_connections 768;\n}\nhttp {\n        sendfile on;\n        tcp_nopush on;\n        tcp_nodelay on;\n        keepalive_timeout 65;\n        types_hash_max_size 2048;\n        include /etc/nginx/mime.types;\n        default_type application/octet-stream;\n        ssl_prefer_server_ciphers on;\n        access_log /var/log/nginx/access.log;\n        error_log /var/log/nginx/error.log;\n        gzip on;\n        include /etc/nginx/conf.d/*.conf;\n        include /etc/nginx/sites-enabled/*;\n\n}\nroot@proxy:~#\nroot@proxy:~# cat /etc/nginx/conf.d/elk.conf\nserver {\n    listen 80;\n    server_name domain.tld;\n    return 301 https://$host$request_uri;\n}\n\nserver {\n    listen 443 default_server ssl;\n    server_name domain.tld;\n\n    ssl_certificate /etc/letsencrypt/live/domain.tld/fullchain.pem;\n    ssl_certificate_key /etc/letsencrypt/live/domain.tld/privkey.pem;\n\n    location / {\n        root /usr/share/nginx/html;\n        index index.html;\n    }\n\n    location /elk {\n        proxy_pass http://1.2.3.4:5601;\n        proxy_http_version 1.1;\n        proxy_set_header Connection \"Keep-Alive\";\n        proxy_set_header Proxy-Connection \"Keep-Alive\";\n    }\n}\nroot@proxy:~#\n\n\nWith the above configurations, when I go to https://domain.tld, I can view my static site without issues but when I go to https://domain.tld/elk, I get a 404 Not Found. Here's the Raw Data of the 404:\n\n{\"statusCode\":404,\"error\":\"Not Found\",\"message\":\"Not Found\"}\n\n\nHere's the Headers:\n\nConnection: keep-alive\nContent-Type: application/json; charset=utf-8\nDate: Fri, 04 Jan 2019 11:42:55 GMT\nServer: nginx/1.14.0 (Ubuntu)\nTransfer-Encoding: chunked\ncache-control: no-cache\ncontent-encoding: gzip\nkbn-name: kibana\nkbn-xpack-sig: d39f386737f81acb1fe7cc2cc4d80109\nvary: accept-encoding\n\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Encoding: gzip, deflate, br\nAccept-Language: en-US,en;q=0.5\nConnection: keep-alive\nDNT: 1\nHost: domain.tld\nReferer: https://domain.tld/\nUpgrade-Insecure-Requests: 1\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0\n\n\nIf I make my config as this:\n\nroot@proxy:~# cat /etc/nginx/conf.d/elk.conf\nserver {\n    listen 80;\n    server_name domain.tld;\n    return 301 https://$host$request_uri;\n}\n\nserver {\n    listen 443 default_server ssl;\n    server_name domain.tld;\n\n    ssl_certificate /etc/letsencrypt/live/domain.tld/fullchain.pem;\n    ssl_certificate_key /etc/letsencrypt/live/domain.tld/privkey.pem;\n\n    location / {\n        proxy_pass http://1.2.3.4:5601;\n        proxy_http_version 1.1;\n        proxy_set_header Connection \"Keep-Alive\";\n        proxy_set_header Proxy-Connection \"Keep-Alive\";\n    }\n}\nroot@proxy:~#\n\n\nand go to https://domain.tld, it will proxy back to ELK correctly and the Kibana dashboard loads properly.\n\nBeen tinkering around, researched online and adjusted the samples accordingly but cannot make it to work the way I wanted. Appreciate your help. Thanks!","product":["kibana"],"versions":["18.04","18.04.1","14.0","5.0"],"lang":"en","answer_count":1,"view_count":1956,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","09-upgrades-and-migration","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-51942157","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51942157/how-to-sync-data-from-mongodb-to-elasticsearch-using-logstash","posted_at":"2018-08-21T05:32:24.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Pirai Sudie","score":4,"kind":"question","title":"How to sync data from mongodb to elasticsearch using Logstash","body":"i have data in mongodb database and now i want to visualize realtime data in kibana .if data changes in mongodb it should be reflect in kibana.so how to implement it ...please guide me to implement this","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3769,"accepted":false,"category":"04-performance-and-load","secondary_categories":["01-dashboard-authoring","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-51304859","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51304859/how-can-i-send-the-data-from-fluentd-in-kubernetes-cluster-to-the-elasticsearch","posted_at":"2018-07-12T11:46:50.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Alen Tom Mathew","score":4,"kind":"question","title":"How can I send the data from fluentd in kubernetes cluster to the elasticsearch in remote standalone server outside cluster?","body":"I have three kubernetes cluster environments set up in GCP. \nI have installed Fluentd as daemonset in all these environments to collect the logs from all the pods. \nI have also installed elasticsearch and kibana in a separate server outside the cluster. \nI need to feed the logs in fluentd to the elasticsearch in remote server and thereby run a centralised logging platform. \n\nHow can I send the data from fluentd to the elasticsearch in remote server?\n\nThe error received is:\n\n\n  error_class=Fluent::Plugin::ElasticsearchOutput::ConnectionFailure error=\"Can not reach Elasticsearch cluster","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2208,"accepted":false,"category":"15-plugin-and-ecosystem","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-36899554","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36899554/debugging-kibana-backend-node-js-code","posted_at":"2016-04-27T19:48:31.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"srgbnd","score":4,"kind":"question","title":"Debugging Kibana backend Node.js code","body":"How to debug Kibana backend source code?\n\nI presume, node-inspector could be used. And some extra configuration needed for package.json file to run debugger at npm start. But, I can't figure out the correct configuration syntax.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":1142,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-36465128","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36465128/does-kibana-support-filters-with-preset-values-in-a-dropdown","posted_at":"2016-04-07T01:28:12.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"es3735746","score":4,"kind":"question","title":"Does Kibana support filters with preset values in a dropdown","body":"I wanted to know if I can create dropdown filter options for my visualizations in Kibana similar to the data filter Kibana has which when set to the last day, updates all visualizations in a dashboard to reflect information only where data is within the specified bounds..\n\nIt would be helpful to have a dropdown for example that says \n\n- Apple\n- Banana\n- Orange\n- Pear\n- Cherry\n\nAnd upon clicking one of these, for example Orange, have the visualizations in my dashboard update to reflect only the data where Fruits=Orange.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2866,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-29142531","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29142531/getting-logstash-grokparsefailure-though-grok-debugger-throws-no-errors","posted_at":"2015-03-19T10:48:05.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Michael","score":4,"kind":"question","title":"Getting Logstash _grokparsefailure though Grok Debugger throws no errors","body":"I try to parse Check Point firewall Syslog logs with logstash and grok.\n\nExample of a log entry:\n\n<190>2015 Mar 19 12:40:55 fw1 <60031> User admin failed to login (wrong authentication) (Source IP:123.123.123.123 Via:HTTP)\n\n\nI use this pattern:\n\n<%{POSINT:syslog_pri}>%{YEAR} %{SYSLOGTIMESTAMP:syslog_timestamp} %{DATA:device} <%{POSINT:status}> User %{WORD:account} %{DATA:msg} (?:[(])%{DATA:msg1}(?:[)]) (?:[(])Source IP:%{IPV4:src} Via:%{WORD:protocol}(?:[)])\n\n\nAll fields are parsed well and show up in elasticsearch/kibana. The Grok Debugger works fine with this specific log/pattern combination. However, I keep receiving _grokparsefailure tags. Has anyone a hint how to get rid of them?  \n\nUPDATE: Here is my complete logstash configuration (most relevant part is the \"Failed login\" block):\n\ninput { \n    syslog {\n        type => \"syslog\"\n        port => 514\n    }\n}\n\nfilter {\n    if [type] == \"syslog\" {\n        geoip { source => \"host\" }  \n\n        # Firewall rule fired\n        if [message] =~ \"packet\" {\n            grok {\n                match => [ \"message\", \"<%{POSINT:syslog_pri}>%{YEAR} %{SYSLOGTIMESTAMP:syslog_timestamp} %{DATA:device} <%{POSINT:status}> %{WORD:activity} %{DATA:inout} (?:[(])%{DATA:msg}(?:[)]) Src:%{IPV4:src} SPort:%{POSINT:sport} Dst:%{IPV4:dst} DPort:%{POSINT:dport} IPP:%{POSINT:ipp} Rule:%{INT:rule} Interface:%{WORD:iface}\" ]\n            }\n        } \n        # Failed login\n        else if [message] =~ \"failed\" {\n            grok {\n                match => [ \"message\", \"<%{POSINT:syslog_pri}>%{YEAR} %{SYSLOGTIMESTAMP:syslog_timestamp} %{DATA:device} <%{POSINT:status}> User %{WORD:account} %{DATA:msg} (?:[(])%{DATA:msg1}(?:[)]) (?:[(])Source IP:%{IPV4:src} Via:%{WORD:protocol}(?:[)])\" ]\n            }\n        }\n        # Successful login/out\n        else if [message] =~ \"logged\" {\n            mutate {\n                add_field => [ \"userlogged\", \"%{host}\" ]\n            }\n            grok {\n                match => [ \"message\", \"<%{POSINT:syslog_pri}>%{YEAR} %{SYSLOGTIMESTAMP:syslog_timestamp} %{DATA:device} <%{POSINT:status}> User %{DATA:account} %{WORD} %{WORD:action} (?:[(])Source IP:%{IPV4:src} Via:%{WORD:protocol}(?:[)])\" ]\n            }\n        }\n        else {\n            grok {\n                match => [ \"message\",  \"<%{POSINT:syslog_pri}>%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\\[%{POSINT:syslog_pid}\\])?: %{GREEDYDATA:syslog_message}\" ]\n            }\n        }\n    }   \n}\n\noutput {\n    elasticsearch {\n        host => \"localhost\"\n        protocol => \"http\"\n    }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":11535,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-28992124","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28992124/kibana-4-metric-visualization-show-latest-value","posted_at":"2015-03-11T16:27:35.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"roast","score":4,"kind":"question","title":"Kibana 4 Metric visualization show latest value","body":"I'm new to Kibana and Elastic Search and i have run into this problem: \n\nMy ES contains (among other stuff) also data containing the current value of one custom performance counter and i would like my dashboard to show this value, e.g., as a big number - therefore i tried to use the Metric visualization, but i have no idea on how to show only the last value. Any help would be highly appreciated. Thanks.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2577,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load"],"sentiment":"positive","tags":[]}
{"id":"so-71806739","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71806739/kibana-and-elastic-compatibility-issue","posted_at":"2022-04-09T09:21:34.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Gajendar","score":4,"kind":"question","title":"Kibana and elastic compatibility issue","body":"I started using elastic search v7.17.2 and kibana v8.1.2 on mac os monterey 12.3.1\n[ERROR][elasticsearch-service] This version of Kibana (v8.1.2) is incompatible with the following Elasticsearch nodes in your cluster: v7.17.2 @ 127.0.0.1:9200 (127.0.0.1)","product":["kibana"],"versions":["17.2","12.3.1"],"lang":"en","answer_count":1,"view_count":926,"accepted":false,"category":"09-upgrades-and-migration","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-68998462","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/68998462/caused-by-org-elasticsearch-action-search-searchphaseexecutionexception","posted_at":"2021-08-31T12:11:14.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Pradeep Patil","score":4,"kind":"question","title":"Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException","body":"Caused by: org.elasticsearch.action.search.SearchPhaseExecutionException: Search rejected due to missing shards [[.kibana_task_manager_7.14.0_001][0]]. Consider using allow_partial_search_results setting to bypass this error .\",\nWe are getting error.\nEnvrionment details:\nElasticSearch deployed as standalone pod in Kubernetes\nKibana deployed as standalone pod in Kubernetes\nWe have tried with both 7.14 and 7.12 version.\nThe data gets ingestion in ElasticSearch and we are able to also view in Kibana but after few hours above mentioned error we get and then Kibana goes down.\nWe have also tried  'allow_partial_search_results', setting to True and False both the ways as by default its True, but still its not working.\nWe also have tried restarting pods/redeployments but everytime it works for few hours and then in logs we get the above mentioned error.\nAny suggestion would be of great help.","product":["kibana"],"versions":["7.14","7.12"],"lang":"en","answer_count":1,"view_count":4574,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-65231840","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/65231840/kibana-filtering-records-by-matching-values-from-another-filtering","posted_at":"2020-12-10T09:30:33.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Anton","score":4,"kind":"question","title":"Kibana. Filtering records by matching values from another filtering","body":"I see such messages in kibana for a period of 5 seconds:\nDate, Message, TraceId\n\nDec 10, 2020 @ 10:49:50.285 New request start http://somehost/path1   7ec708ab153e644f\nDec 10, 2020 @ 10:49:51.179 New request end http://somehost/path1     7ec708ab153e644f\nDec 10, 2020 @ 10:49:52.285 New request start http://somehost/path2   1e090982aeb026a3\nDec 10, 2020 @ 10:49:54.285 New request start http://somehost/path3   b880dfa9c4fd39ad\nDec 10, 2020 @ 10:49:53.179 New request end http://somehost/path3     b880dfa9c4fd39ad\nDec 10, 2020 @ 10:49:54.349 New request start http://somehost/path4   65184024b220dd0c\n\nHow can I filter records to see only \"New request start\" lines that do not have corresponding \"New request end\" matching by \"traceId\"?\nFor example, for the lines above I want to see the result:\nDec 10, 2020 @ 10:49:52.285 New request start http://somehost/path2   1e090982aeb026a3\nDec 10, 2020 @ 10:49:54.349 New request start http://somehost/path4   65184024b220dd0c","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":675,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-62671455","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62671455/elasticsearch-put-role-api","posted_at":"2020-07-01T07:10:31.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Coder","score":4,"kind":"question","title":"Elasticsearch put role API","body":"I started using the create role API and it works as expected : https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html\nI got the list of default roles in elasticsearch, /_security/role but I don't know to create the following roles and not able to find the proper docs for it.\nI want to segregate the user based on the following needs,\n\nRole which has the privilege to perform only READ / WRITE in all the indices in Elastic Search (This role should not have privilege to CREATE / DELETE indices\nRole which has the privilege to perform only operations on Kibana\nRole which has the privilege to perform only operations on Logstash","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3102,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-61584838","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61584838/filebeat-unable-to-send-data-to-logstash-which-results-in-empty-data-in-elastic","posted_at":"2020-05-04T03:44:56.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Reddy Bhavani Prasad","score":4,"kind":"question","title":"Filebeat unable to send data to logstash which results in empty data in elastic &amp; kibana","body":"I am trying to deploy ELK stack in openshift platform (OKD - v3.11) and using filebeat to automatically detect the logs.\nThe kibana dashboard is up, elastic & logstash api's are working fine but the filebeat is not sending the data to logstash since I do not see any data polling on the logstash listening on 5044 port.\nSo I found that from elastic forums that the following iptables command would resolve my issue but no luck,\niptables -A OUTPUT -t mangle -p tcp --dport 5044 -j MARK --set-mark 10\n\nStill nothing is polling on the logstash listener. Please help me if I am missing anything and let me know if you need any more information.\nNOTE:\nThe filebeat.yml, logstash.yml & logstash.conf files are working perfectly while deployed in the plain kubernetes.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1631,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","13-observability-apm","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-60520791","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60520791/how-to-use-trigger-variables-in-the-message-of-the-raised-alert-in-kibana-elasti","posted_at":"2020-03-04T07:15:23.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Kunal Singh","score":4,"kind":"question","title":"How to use trigger variables in the message of the raised alert in Kibana ElasticSearch open distro","body":"I am using elastic search open distro.This is my trigger condition :\n\nfor (int i = 0; i < ctx.results[0].hits.hits.length; i++) {\n\n    if(2 < ctx.results[0].hits.hits[i]._source.responseTime) {\n      score = true;\n    } else {\n      score = false;\n    }\n\n}\nreturn score;\n\n\nI am trying to send the message with the specific details of my source with the API url and response time, something like below just for all raised alerts(how do we ensure that):\n\nMonitor {{ctx.monitor.name}} just entered alert status. Please investigate the issue.\n- **API Url : {{ctx.results.0.hits.hits.0._source.msg}} and response time {{ctx.results.0.hits.hits.0._source.responseTime}}** -- **need details only for raised alerts**\n- Trigger: {{ctx.trigger.name}}\n- Severity: {{ctx.trigger.severity}}","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1802,"accepted":false,"category":"07-alerting-and-watcher","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-60491384","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60491384/how-can-i-set-up-multiple-elastic-search-instances-on-one-server-with-different","posted_at":"2020-03-02T14:53:38.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"George","score":4,"kind":"question","title":"How can I set up multiple elastic search instances on one server with different data?","body":"We use Elastic Search and Kibana at my company. I want to create a second elastic search instance running on the same server but in a different JVM - lets call them A and B. I would like A to have an index called other_logs and B to have an index called batch. I want to be able to search both of them via a single kibana instance and set up dashboards that can read either index on either JVM. Data written to A should not be written to B and vice versa.\n\nThe reason is we have some batch jobs which depend on ES and ES has been a bit unstable causing batch job failures. The batch reads/writes very little data to ES but the rest of the app writes a ton of logs and is causing the instability. If we can't read logs its a minor issue but if the batch fails its a major issue. Hence for a short term fix while we look at the ES instability, I would like to move the batch dependencies to a new JVM (ES instance B) which should be small and more stable.\n\nI assume I need the second ES instance to run with a different cluster name otherwise the data will get replicated. When testing this I am seeing a few exceptions so not sure if I'm going in the right direction. I'm looking at \"cross-cluster search\" which looks like it might allow me to keep one kibana and search both clusters but have zero experience with ES or Kibana and not much time to research this.\n\nAny suggestions on how I can accomplish the configuration? Am I on the right path?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2988,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-59404303","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59404303/how-to-export-data-from-kibanaelk-stack-as-csv-from-api-calls","posted_at":"2019-12-19T06:28:40.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"rehan","score":4,"kind":"question","title":"How to export data from kibana(ELK stack) as CSV from API calls?","body":"I have already export data from kibana(ELK stack) as in JSON file format by API calls.But the requirement to get enhanced data table's data as in CSV format through API calls.Is there a way i can achieve this?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2023,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["06-sharing-and-export","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-59317064","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59317064/how-to-get-kibana-dashboard-id","posted_at":"2019-12-13T06:12:13.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"rehan","score":4,"kind":"question","title":"How to get Kibana dashboard ID?","body":"How can I get kibana dashboard ID? for API call to export data from the dashboard.\n\nI searched everywhere but I can't find ID for dashboard like in example(The dashboard ID is 942dcef0-b2cd-11e8-ad8e-85441f0c2e5c.). \n\nI'm using ELK stack 7.4.1 OSS(Community version).","product":["kibana"],"versions":["7.4.1"],"lang":"en","answer_count":2,"view_count":5471,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-44235196","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/44235196/mapping-conflict-error-in-kibana","posted_at":"2017-05-29T05:32:51.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Easy-Install","score":4,"kind":"question","title":"&quot;Mapping conflict!&quot; Error in Kibana","body":"I have Installed an ELK stack on my machine. Kibana's version in 5.2.1, Elastic version is 5.2.1. So basically everything is uptodate.\nBut now i am getting following warning.\n\n\"Mapping conflict! 2 fields are defined as several types (string, integer, etc) across the indices that match this pattern. You may still be able to use these conflict fields in parts of Kibana, but they will be unavailable for functions that require Kibana to know their type. Correcting this issue will require reindexing your data.\"\n\nand those two fields are \"geoip.coordinates\" and \"geoip.location\"\n\ni search for the solutions on google and got result like \"ReIndex data\". but i am new to ELK and dont know how to reindex it\n\nHere's my template.json file,\n\n{\n\"mappings\": {\n\"_default_\": {\n  \"_all\": {\n    \"enabled\": true,\n    \"norms\": {\n      \"enabled\": false\n    }\n  },\n  \"dynamic_templates\": [\n    {\n      \"template1\": {\n        \"mapping\": {\n          \"doc_values\": true,\n          \"ignore_above\": 1024,\n          \"index\": \"not_analyzed\",\n          \"type\": \"{dynamic_type}\"\n        },\n        \"match\": \"*\"\n      }\n    }\n  ],\n  \"properties\": {\n    \"@timestamp\": {\n      \"type\": \"date\"\n    },\n    \"message\": {\n      \"type\": \"string\",\n      \"index\": \"analyzed\"\n    },\n    \"offset\": {\n      \"type\": \"long\",\n      \"doc_values\": true\n    },\n    \"geoip\"  : {\n      \"type\" : \"object\",\n      \"dynamic\": true,\n      \"properties\" : {\n        \"location\" : { \"type\" : \"geo_point\" },\n        \"coordinates\" : { \"type\" : \"geo_point\" }\n      }\n    }\n  }\n}\n},\n \"settings\": {\n  \"index.refresh_interval\": \"5s\"\n},\n\"template\": \"filebeat-*\"\n}\n\n\nand my logstash.conf file's output section,\n\noutput {\n\n elasticsearch {\n    hosts => [\"localhost:9200\"]\n    sniffing => true\n    manage_template => false\n    index => \"%{[@metadata][beat]}-%{+YYYY.MM.dd}\"\n    document_type => \"%{[@metadata][type]}\"\n    }\n}\n\n\nI don't know what should be the solution. Any help would be appreciated","product":["kibana"],"versions":["5.2.1"],"lang":"en","answer_count":2,"view_count":14040,"accepted":false,"category":"12-maps-and-geo","secondary_categories":["05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-42998319","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42998319/is-there-a-way-to-define-a-dynamic-query-in-kibana-dashboard","posted_at":"2017-03-24T11:26:20.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Andrei T.","score":4,"kind":"question","title":"Is there a way to define a dynamic query in Kibana dashboard?","body":"A somewhat similar question has been asked here but there's no answer for that yet. That question relates to an older version of Kibana so I hope you can help me.\n\nI'm trying to setup some predefined queries in the Kibana dashboard. I'm using Kibana 5.1. The purpose of those queries is filtering some logs based on multiple different parameters.\n\nLet's see a query I'd like to execute:\n\n\n\n{\n  \"index\": \"${index_name}\",\n  \"query\": {\n    \"query_string\": {\n      \"query\": \"message:(+\\\"${LOG_LEVEL}\\\")\",\n      \"analyze_wildcard\": true\n    }\n  }\n}\n\n\nI know I can query directly in the dashboard something like \"message:(+\"ERROR\")\" and manually change the ERROR to WARN for example, but I don't want that - imagine that this query might be more complex and contain multiple fields.\n\nNote that the data stored in the message is not structured - think of the message as a whole log line. This means I don't have fields like LOG_LEVEL which I could filter directly.\n\nIs there any way I can set the index_name and LOG_LEVEL dynamically from the Kibana Discover dashboard?","product":["kibana"],"versions":["5.1"],"lang":"en","answer_count":1,"view_count":2985,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","04-performance-and-load"],"sentiment":"negative","tags":["discover"]}
{"id":"so-32477601","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/32477601/how-to-create-timeline-chart-with-average-using-kibana","posted_at":"2015-09-09T10:53:35.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Eran Witkon","score":4,"kind":"question","title":"How to create timeline chart with average using Kibana?","body":"I am ingesting data to elasticsearch using flume, I want to create a time-series graph in kibana to show the events collected over time. BUT I also want to to the average per that time unit so the user knows if the current flow is around the average or not.\n\nTo create a timeline I am using line graph with @timestamp as X-axis and count as Y-axis.\n\nThe question is how to create the average line? and how to make this average dynamic e.g. as we zoom in average changes from average per day to average per hour.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":9340,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","14-siem-and-security"],"sentiment":"negative","tags":[]}
{"id":"so-30218466","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30218466/how-to-parse-data-from-s3-using-logstash-and-push-to-elastic-search-and-then-to","posted_at":"2015-05-13T14:52:59.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"user1652054","score":4,"kind":"question","title":"How to parse data from S3 using Logstash and push to Elastic Search and then to Kibana","body":"I have a log file created in S3 bucket every minute.\nThe data is \"\\x01\" delimited. One of the column is a timestamp field.\n\nI want to load this data into elastic search.\n\nI tried using the following logstash conf. But it doesn't seem to work. I don't see any output. I took some reference from http://brewhouse.io/blog/2014/11/04/big-data-with-elk-stack.html\n\nLogstash config file is as follows:\n\ninput {\n  s3 {\n    bucket => \"mybucketname\"\n    credentials => [ \"accesskey\", \"secretkey\" ]\n  }\n}\nfilter {\n  csv {\n   columns => [ \"col1\", \"col2\", \"@timestamp\" ]\n   separator => \"\\x01\"\n  }\n}\noutput {\n  stdout { } \n}\n\n\nHow do I modify this file to take in new file coming in every minute? \n\nI would then eventually want to connect Kibana to ES to visualize the changes.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9597,"accepted":false,"category":"04-performance-and-load","secondary_categories":["01-dashboard-authoring","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-28617800","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28617800/add-tag-to-document-from-kibana","posted_at":"2015-02-19T21:59:11.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"CB-Dan","score":4,"kind":"question","title":"Add tag to document from Kibana","body":"We use Kibana, ElasticSearch and Logstash to monitor the health of production systems.\n\nWhen fatal errors are logged, then handled by our support staff, we would like to be able to tag them as \"Handled/Fixed\" as well as insert a comment, within our Kibana dashboard. \n\nThis way we could set up a dashboard that displays only \"Unhandled\" errors that haven't been looked at by the support staff. A very basic ticket system, if you will, based on production logs.\n\nIs there any plugin for Kibana that provides this feature?\n\nIf not, could a gentle soul provide a high-level overview of the development that would be required to write such a plugin?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1481,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","12-maps-and-geo","15-plugin-and-ecosystem"],"sentiment":"neutral","tags":[]}
{"id":"so-23344246","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23344246/kibana-cannot-draw-the-histogram-of-the-float-values","posted_at":"2014-04-28T14:50:33.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Oleksandra","score":4,"kind":"question","title":"Kibana cannot draw the Histogram of the float values","body":"Kibana cannot correctly draw a the Histogram of the float values.\nThe result of query to elasticsearch contains the field \"Value\" and the value is \"88.23692\".  \n\nI select \"mean\" in \"Chart value\" and put \"Value\" in \"Value Field\" on Panel Settings of the histogram. \n\nHowever it looks like the histogram can't display the values correctly. Y-axis contains great numbers: sextillions.\n\nCould anybody please tell me whether Kibana can deal with float numbers and if yes what is correct numbers format?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":2749,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"positive","tags":[]}
{"id":"so-23032944","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23032944/distributed-tracing-logging-and-integrating-with-logstash-kibana-and-elasticsear","posted_at":"2014-04-12T16:18:18.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Bmis13","score":4,"kind":"question","title":"Distributed Tracing logging and Integrating with Logstash,Kibana and ElasticSearch","body":"I have implemented a Distributed Transaction Logging library with Tree like Structure as mention in Google Dapper(http://research.google.com/pubs/pub36356.html) and eBay CAL Transaction Logging Framework(http://devopsdotcom.files.wordpress.com/2012/11/screen-shot-2012-11-11-at-10-06-39-am.png).\n\nLog Format\n\nTIMESTAMP   HOSTNAME  DATACENTER  ENVIRONMENT  EVENT_GUID PARENT_GUID TRACE_GUID APPLICATION_ID TREE_LEVEL TRANSACTION_TYPE TRANSACTION_NAME STATUS_CODE DURATION(in ms) PAYLOAD(key1=value2,key2=value2)\n\n\nGUID HEX NUMBER FORMAT\n\nMURMER_HASH(HOSTNAME + DATACENTER + ENVIRONMENT)-JVM_THREAD_ID-(TIME_STAMP+Atomic Counter)\n\n\nWhat I would like to do is to integrate this format with Kibana UI and when user want to search and click on on TRACE_GUID it will show something similar to Distributed CALL graph which show where the time was spent.  Here is UI http://twitter.github.io/zipkin/.  This will be great.  I am not UI developer if some can point me how to do this that will be great.  \n\nAlso I would like to know how I can index elastic search payload data so user specify some expression like in payload (duration > 1000) then, Elastic Search will bring all the loglines that satisfy condition. Also, I would like to index Payload as Name=Value pair so user can query  (key3=value2 or key4 = exception) some sort of regular expression.  Please let me know if this can be achieved.  Any help pointer would be great.. \n\nThanks,\nBhavesh","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3065,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["02-discover-and-kql","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-21422032","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/21422032/how-to-add-our-own-graph-to-kibana","posted_at":"2014-01-29T04:20:54.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"akki.verma22","score":4,"kind":"question","title":"How to add our own graph to Kibana?","body":"I am using Kibana and logstash with elastic search to analyse the log data. \nI have also prepared a few customized chart using highchart,logstash and elastic search. I want to display these highchart charts on my kibana UI. \n\nPlease suggest me how to do that.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5324,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-73453488","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73453488/how-to-visualize-unique-cumulative-sum-in-elasticsearch-kibana","posted_at":"2022-08-23T05:18:41.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Ahmed Ezzat","score":4,"kind":"question","title":"How to Visualize Unique Cumulative Sum In Elasticsearch/Kibana","body":"I have a large index that contains data in the following format\n{\n   \"metadata\": {\"timestamp\": \"1970-01-01T00:00:00Z\"},\n   \"input\": \"input_1\",\n   \"output\": [\"a\", \"b\", \"c\"]\n}\n\nSometimes the same input results in different output e.g\n{\n   \"metadata\": {\"timestamp\": \"1970-01-01T00:00:00Z\"},\n   \"input\": \"input_1\",\n   \"output\": [\"a\", \"b\"] <---- Missing \"c\"\n}\n\n{\n   \"metadata\": {\"timestamp\": \"1970-01-01T00:00:00Z\"},\n   \"input\": \"input_1\",\n   \"output\": [\"a\", \"b\", \"c\", \"d\"] <----- \"d\" Added\n}\n\nI want to visualize only the upward trend grouped by the input meaning if\ninput_1 resulted in a, b, c at T then, input_1 resulted in a, b in T+1.\nI want to visualize at T and T+1 the number of outputs related to input_1 is 3.\nkeep in mind I'm looking for a unique count.\nPlease note that I'm looking for a way without reindexing or using pipelines as the data\nis already there and enormous.\nI'm not an Elasticsearch expert so I hope I'm using the correct terms here, and the solution to my problem can be done within elasticsearch. I tried looking online but most of the guides talk about a cumulative sum and I'm looking for a unique cumulative sum","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":263,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-71912140","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71912140/server-not-started-yet-kibana-8-1-2","posted_at":"2022-04-18T13:00:17.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"hell_storm2004","score":4,"kind":"question","title":"Server Not Started Yet (Kibana 8.1.2)","body":"I am new to learning LogStash. So I am starting Kibana first. Then LogStash. Then a SpringBoot application that I wrote.\nSo in the kibana.yaml file, I only have two entries:\nserver.port: 5601\nelasticsearch.hosts: [\"http://my_local_hostname:9200\"]\n\nWhen I run kibana.bat, I see these entries in the console:\nC:\\kibana-8.1.2\\bin>kibana.bat\n[2022-04-18T18:06:38.673+05:30][INFO ][plugins-service] Plugin \"metricsEntities\" is disabled.\n[2022-04-18T18:06:38.742+05:30][INFO ][http.server.Preboot] http server running at http://localhost:5601\n[2022-04-18T18:06:38.775+05:30][INFO ][plugins-system.preboot] Setting up [1] plugins: [interactiveSetup]\n[2022-04-18T18:06:38.806+05:30][WARN ][config.deprecation] The default mechanism for Reporting privileges will work differently in future versions, which will affect the behavior of this cluster. Set \"xpack.reporting.roles.enabled\" to \"false\" to adopt the future behavior before upgrading.\n[2022-04-18T18:06:38.950+05:30][INFO ][plugins-system.standard] Setting up [112] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,mapsEms,licenseApiGuard,usageCollection,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,sharedUX,share,embeddable,uiActionsEnhanced,screenshotMode,screenshotting,banners,telemetry,newsfeed,fieldFormats,expressions,dataViews,charts,esUiShared,bfetch,data,savedObjects,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,watcher,licenseManagement,advancedSettings,spaces,security,savedObjectsTagging,reporting,lists,fileUpload,ingestPipelines,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,savedObjectsManagement,console,controls,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,visualizations,canvas,visTypeXy,visTypeVislib,visTypeVega,visTypeTimeseries,rollup,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypeMetric,visTypeHeatmap,visTypeMarkdown,dashboard,maps,dashboardEnhanced,expressionTagcloud,expressionPie,visTypePie,expressionMetricVis,expressionHeatmap,expressionGauge,dataViewFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,dataViewManagement]\n[2022-04-18T18:06:38.967+05:30][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: e299f8d2-8da2-4387-8572-2485272aab82\n[2022-04-18T18:06:39.094+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.095+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.\n[2022-04-18T18:06:39.111+05:30][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.112+05:30][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended.\n[2022-04-18T18:06:39.125+05:30][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.136+05:30][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.149+05:30][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.161+05:30][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.\n[2022-04-18T18:06:39.177+05:30][INFO ][plugins.ruleRegistry] Installing common resources shared between all indices\n[2022-04-18T18:06:39.791+05:30][INFO ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.\n[2022-04-18T18:06:41.151+05:30][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect EACCES 192.168.1.19:9200\n[2022-04-18T18:06:41.329+05:30][INFO ][plugins.screenshotting.chromium] Browser executable: C:\\kibana-8.1.2\\x-pack\\plugins\\screenshotting\\chromium\\chrome-win\\chrome.exe\n\nThe console entries do look fine. Although I dont understand a lot of entries yet.\nBut when I enter http://localhost:5601/ on the browser, I get the webpage:\n\nKibana server is not ready yet.\n\nBut after a while I do see this pop up in the console:\n[2022-04-18T18:26:39.188+05:30][ERROR][plugins.ruleRegistry] Error: Timeout: it took more than 1200000ms\n    at Timeout._onTimeout (C:\\kibana-8.1.2\\x-pack\\plugins\\rule_registry\\server\\rule_data_plugin_service\\resource_installer.js:54:20)\n    at listOnTimeout (node:internal/timers:559:17)\n    at processTimers (node:internal/timers:502:7)\n[2022-04-18T18:26:39.195+05:30][ERROR][plugins.ruleRegistry] Error: Failure installing common resources shared between all indices. Timeout: it took more than 1200000ms\n    at ResourceInstaller.installWithTimeout (C:\\kibana-8.1.2\\x-pack\\plugins\\rule_registry\\server\\rule_data_plugin_service\\resource_installer.js:63:13)\n    at ResourceInstaller.installCommonResources (C:\\kibana-8.1.2\\x-pack\\plugins\\rule_registry\\server\\rule_data_plugin_service\\resource_installer.js:77:5)\n\nCan you please tell me what am is going wrong here. I see that it's a common problem. But I tried a lot of the solutions provided on SO, but nothing worked yet.","product":["kibana"],"versions":["8.1.2"],"lang":"en","answer_count":1,"view_count":3882,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["09-upgrades-and-migration","07-alerting-and-watcher","13-observability-apm"],"sentiment":"negative","tags":["lens","canvas","discover","alerting","apm","saved-objects","fleet","license"]}
{"id":"so-68283668","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/68283668/how-to-prevent-slow-match-match-phrase-queries-for-keywords-in-kibana","posted_at":"2021-07-07T09:46:07.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"kelunik","score":4,"kind":"question","title":"How to prevent slow match / match_phrase queries for keywords in Kibana?","body":"How can I achieve that a match query for certain fields is equivalent to a term query?\nI have a larger index in Elastic covering events. Each event has an eventid field consisting of a random hex string (e.g. f4fc38c993c1a8273f9c40eedc9050b7) as well as some other fields. The eventid is indexed as keyword in Elastic.\nIf I query based on this field in Kibana, the query often runs into timeouts, because Kibana automatically generates a match query for eventid:f4fc38c993c1a8273f9c40eedc9050b7.\nIf I set a manual filter using { \"query\": { \"term\": { \"eventid\": \"f4fc38c993c1a8273f9c40eedc9050b7\" } } } (so a term instead of match query) I get a response quite quickly.\nFrom my understanding, these should be pretty much equivalent, as keyword fields aren't analyzed, so the match query should be equivalent to a term query.\nWhat am I missing?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":334,"accepted":false,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-68119473","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/68119473/kibana-oidc-okta-integration-redirecting-straight-to-kibana-url-auth-openid-l","posted_at":"2021-06-24T16:26:28.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"user14789026","score":4,"kind":"question","title":"Kibana OIDC Okta Integration redirecting straight to ${KIBANA_URL}/auth/openid/login with 401","body":"I'm trying to integrate open distro ELK with OpenID Connect by following the guide here (https://opendistro.github.io/for-elasticsearch-docs/docs/security/configuration/openid-connect/#kibana-single-sign-on), specifically by updating the kibana.yml and config.yml files as shown.\nThe behavior I'm seeing is:\n\nVisit ${KIBANA_URL}\nGet redirected straight to ${KIBANA_URL}/auth/openid/login with 401\n\nI'm checking the network requests, and I'm not sure why it's not redirecting to the IDP (Okta) first. What should I check next?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":427,"accepted":false,"category":"08-spaces-and-rbac","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-64602645","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64602645/got-this-error-cannot-invoke-object-getclass-because-callargs0-is-n","posted_at":"2020-10-30T04:14:20.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"M_x","score":4,"kind":"question","title":"Got this error &quot;Cannot invoke \\&quot;Object.getClass()\\&quot; because \\&quot;callArgs[0]\\&quot; is null&quot; in kibana Console","body":"got this error in kibana console\n\nCannot invoke \\\"Object.getClass()\\\" because \\\"callArgs[0]\\\" is null\n\nwhile executed this in kibana devtools console\n\nPOST <index_name>/_update_by_query\n{\n  \"query\": {\n    \"match\": {\n      \"Field\": \"FieldValue\"\n    }\n  },\n  \"script\": {\n    \"source\": \"ctx._source.Address.add(params.tag)\",\n    \"lang\": \"painless\",\n    \"params\": {\n      \"tag\":{\n        \"Field\" : \"ItsValue\",\n      }\n    }\n  }\n}\n\n\nVersions information\n\nkibana : 7.9.3\nelasticsearch : 7.9.3","product":["kibana"],"versions":["7.9.3"],"lang":"en","answer_count":0,"view_count":2089,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-63055878","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63055878/kibana-get-logs-surrounding-certain-document-with-patterns-to-mark-start-and-e","posted_at":"2020-07-23T13:49:37.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"WesternGun","score":4,"kind":"question","title":"Kibana - get logs surrounding certain document with patterns to mark start and end range of a context","body":"For example, I see an error log in Kibana, but I am not interested only in this error, but also the context of this line, i.e., I want to know what happens before and after this error. Such as:\n\nthe order failed with status \"FAILED\", but the log just before this line would contain the method name who caused this error\nsome 5-10 lines before this, I know there would be a line like \"Start processing order xxxxx with status xxx\"\nand 15-20 lines after this log, there would be something like \"End processing with status xxx\"\n\nAll this together, marks a life cycle of processing of this particular order. And all these lines are what I mean by saying \"context\".\nHow can I get all these lines as a search in Kibana?(Let's suppose all the literals are in the field \"message\")\nFor now, I know we can \"view surrounding documents\", but that is not efficient enough.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2338,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-61907850","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61907850/javascript-package-to-create-a-search-bar-like-kibana","posted_at":"2020-05-20T07:54:06.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Hans","score":4,"kind":"question","title":"JavaScript package to create a search bar like Kibana","body":"Does anyone know a JavaScript package that allows to create a multi-keyword filter query like for example the searchbar of Kibana. StackOverflow, Trello and Gitlab have similar capabilities, but not all have support for multiple filters at once or don't have autocomplete for all possible search filters.\n\nI am looking for something similar to select2 with tags, but then the predefined options are all the available filters and after selecting a filter you can enter the desired value. For instance, you enter \"user:\" after which you can select one of your users. This will then result in \"user:John\" in your search bar (and underneath it keeps track of the user id for the actual search). Next you can add another filter etc. resulting in powerfull search queries while using just one search box.\n\nAlso see this Kibana search example:\n\n\nI am just wondering what already exists, before I start making this.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":610,"accepted":false,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-61716962","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61716962/sending-http-error-with-captureerror-from-angular-shows-error-custom-name-in-k","posted_at":"2020-05-10T18:35:17.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Edgar Quintero","score":4,"kind":"question","title":"Sending HTTP error with captureError from Angular shows error.custom.&lt;name&gt; in Kibana","body":"Kibana version : 7.6.2\n\nElasticsearch version : 7.6.2\n\nAPM Server version : 7.6.2\n\nAPM Agent language and version : @elastic/apm-rum-angular 1.1.1. Angular 9.1.0\n\nOriginal install method : Used the Angular Integration  instructions \n\nWhile trying to Query Kibana for HTTP status code error, I see that these custom fields are not indexed and thus not filterable. It's weird that these even show up as custom at all, I would imagine that Elastic should know that these are HTTP errors and would match it accordingly to a field in Kibana.\n\nSee image, note error.custom.<name> (why are these being created?):\n\n\n\nThis is how I'm sending the error from Angular: \n\nconstructor(@Inject(ApmService) service: ApmService) {\n    this.apmService = service.init({\n      serviceName: 'frontend',\n      serverUrl: 'http://localhost:8200/',\n      serviceVersion: '1.0.0',\n    });\n\n    this.apmService.setUserContext({\n      username: 'John',\n      id: '001',\n    });\n  }\n\nintercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {\n    return next.handle(req).pipe(\n      retry(1),\n      catchError((error: HttpErrorResponse) => {\n        let errorMessage = '';\n        if (error.error instanceof ErrorEvent) {\n          // client-side error\n          errorMessage = `Error: ${error.error.message}`;\n        } else {\n          // server-side error\n          errorMessage = `Error: ${error.status} - ${error.message}`;\n        }\n        this.apmService.captureError(error, { response: error.status });\n        return throwError(errorMessage);\n      })\n    );\n  }\n\n\nHow do I send this error to APM so that Kibana correctly knows to fill this in with the correct fields it has?","product":["kibana"],"versions":["7.6.2","9.1.0"],"lang":"en","answer_count":0,"view_count":884,"accepted":false,"category":"13-observability-apm","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"neutral","tags":["apm"]}
{"id":"so-61039895","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61039895/data-not-showing-in-kibana-discovery-tab","posted_at":"2020-04-05T08:26:25.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Abhishek Kumar","score":4,"kind":"question","title":"Data not showing in Kibana Discovery Tab","body":"I'm using Kibana 7.5.2 and Elastic search 7. \n\nMy First approach: I'm sending log data and system data using fluentd and metricbeat respectively to my Kibana server. Everything working fine. I'm able to see data on the discovery page. But I had a large amount of data. so I added Kafka in between servers.\n\nMy second approach: Now I'm sending log data and system data to Kafka. and then from Kafka, I'm sending it to the Kibana server. For system data via metricbeat, I'm getting @timestamp field in Kibana, and for log data via fluent, I'm not getting @timestamp field.\n\nIf I'm running Kafka server individually for both one by one, everything works fine. but if I run both of them together. System data is not showing in the discovery tab.\n\nKibana index for system data: metricbeat-*\n\nKibana index for log data: prelive-data*\n\nfluentd conf\n\n<match laravel.**>\n  @type kafka2\n\n  # list of seed brokers\n  brokers <my-Broker-ip>:9092\n  <buffer topic>\n    @type file\n    path /var/log/td-agent/buffer/td\n    flush_interval 3s\n  </buffer>\n\n  # topic settings\n\n  # data type settings\n  <format>\n    @type json\n  </format>\n# topic settings\n  topic_key prelive-data-log\n  default_topic prelive-data-log\n\n  # producer settings\n  compression_codec gzip\n        # max_send_retries 1\n  required_acks -1\n</match>\n\n\n\nmetricbeat.yml\n\n#----------------------------- KAFKA --------------------------------\noutput.kafka:\n#  # initial brokers for reading cluster metadata\n  hosts: [\"<my-broker-ip>:9092\"]\n  topic: 'metricbeat-7.6.0-2020.03.25-000001'\n\n\n\nworker.properties of Kafka server for system data (metricbeat)\n\noffset.storage.file.filename=/tmp/connectm.offsets\nbootstrap.servers=:9092\noffset.flush.interval.ms=10000\nrest.port=10084\nrest.host.name=localhost\nrest.advertised.port=10085\nrest.advertised.host.name=localhost\nkey.converter=org.apache.kafka.connect.json.JsonConverter\nvalue.converter=org.apache.kafka.connect.json.JsonConverter\nkey.converter.schemas.enable=false\nvalue.converter.schemas.enable=false\ninternal.key.converter.schemas.enable=false\ninternal.value.converter.schemas.enable=false\nplugin.path=/usr/share/java\n\n\n\nfilesource.properties of Kafka server for system data (metricbeat)\n\nname=config-name\nconnector.class=io.confluent.connect.elasticsearch.ElasticsearchSinkConnector\ntasks.max=1\ntopics=metricbeat-7.6.0-2020.03.25-000001\nkey.ignore=true\nschema.ignore=true\nconnection.url=http://<ES-IP>:9200\nconnection.username=username\nconnection.password=password\ntype.name=kafka-connect\n~                         \n\n\nworker.properties of Kafka server for system data (fluentd)\n\noffset.storage.file.filename=/tmp/connectf.offsets\nbootstrap.servers=:9092\noffset.flush.interval.ms=10000\nrest.port=10082\nrest.host.name=localhost\nrest.advertised.port=10083\nrest.advertised.host.name=localhost\nkey.converter=org.apache.kafka.connect.json.JsonConverter\nvalue.converter=org.apache.kafka.connect.json.JsonConverter\nkey.converter.schemas.enable=false\nvalue.converter.schemas.enable=false\ninternal.key.converter.schemas.enable=false\ninternal.value.converter.schemas.enable=false\nplugin.path=/usr/share/java\n\n\n\nfilesource.properties of kafka server for system data (fluentd)\n\nname=<config-name>\nconnector.class=io.confluent.connect.elasticsearch.ElasticsearchSinkConnector\ntasks.max=2\ntopics=prelive-data-log\nkey.ignore=true\nschema.ignore=true\nconnection.url=http://<my-ES-ip>:9200\nconnection.username=username\nconnection.password=password\ntype.name=kafka-connect\n\n\n\nI'm running my Kafka server /usr/bin/connect-standalone worker.properties filesource.properties\n\nI have been stuck here for a week. Any help would be appreciated.","product":["kibana"],"versions":["7.5.2","7.6.0"],"lang":"en","answer_count":0,"view_count":755,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["05-index-patterns-data-views","10-docs-and-ux","07-alerting-and-watcher"],"sentiment":"negative","tags":[]}
{"id":"so-60360774","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60360774/count-of-elastic-search-index-varying-when-querying-through-presto","posted_at":"2020-02-23T09:23:27.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Mananpreet Singh","score":4,"kind":"question","title":"Count of Elastic Search index varying when querying through Presto","body":"We are using Elassandra (Elastic Search and Cassandra) and querying on Elastic search index using presto. \nWhen we get count of index using _count API then it comes correct each time, but when we query on index to find out count using presto then it varies as shown below :\n\nselect count(*) from elasticsearch.my_schema.idx\n\n\nIndex mapping is shown as below :\n\n{\n  \"idx\": {\n    \"mappings\": {\n      \"my_table\": {\n        \"properties\": {\n          \"col1\": {\n            \"type\": \"keyword\",\n            \"cql_collection\": \"singleton\",\n            \"cql_partition_key\": true,\n            \"cql_primary_key_order\": 0\n          },\n          \"col2\": {\n            \"type\": \"keyword\",\n            \"cql_collection\": \"singleton\"\n          }\n        }\n      }\n    }\n  }\n}\n\n\nPresto configuration : \n1) elasticsearch.properties\n\nconnector.name=elasticsearch\nelasticsearch.table-description-directory=etc/elasticsearch/\nelasticsearch.scroll-size=1000\nelasticsearch.scroll-timeout=30s\n#elasticsearch.request-timeout=2s\nelasticsearch.max-request-retries=10\nelasticsearch.max-request-retry-time=90s\nelasticsearch.max-hits=200000000\n\n\n2) etc/elasticsearch/table.json\n\n{\n  \"tableName\": \"my_table\",\n  \"schemaName\": \"my_schema\",\n  \"host\": \"10.XXX.XXX.XXX\",\n  \"port\": \"9300\",\n  \"clusterName\": \"my cluster\",\n  \"index\": \"idx\",\n  \"type\": \"my_table\",\n  \"columns\": [\n      {\n          \"name\": \"col1\",\n          \"type\": \"varchar\",\n          \"jsonPath\": \"col1\",\n          \"jsonType\": \"keyword\"\n      },\n      {\n          \"name\": \"col2\",\n          \"type\": \"varchar\",\n          \"jsonPath\": \"col2\",\n          \"jsonType\": \"keyword\"\n      }\n  ]\n}\n\n\nWe are have 3 node elassandra cluster (3 node elastic search cluster). \nShards 3 and Replication 1 for this particular index.\nVersions : \n\nPersto - 0.218\nElassandra - 6.2.3.21\nKibana - 6.2.3\n\n\nKindly help.","product":["kibana"],"versions":["6.2.3"],"lang":"en","answer_count":0,"view_count":457,"accepted":false,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","05-index-patterns-data-views","07-alerting-and-watcher"],"sentiment":"neutral","tags":[]}
{"id":"so-60306852","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60306852/kibana-not-sending-alert-on-new-data","posted_at":"2020-02-19T18:20:35.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"bot","score":4,"kind":"question","title":"Kibana not sending alert on new data","body":"I have an Alert setup on Kibana (v7.1.1) for sending an alert whenever an OutOfMemory log is encountered. The trigger is setup with severity 2 to send alert to a list of email with Throttle actions to only trigger every 5mins. This alert creates a trigger after 10 mins from the creation time and keeps sending alert until I click Acknowledge it. Once I click Acknowledge the trigger is not generated ever again even though OOM logs are being generated. \n\nI want this to send alert whenever a new OOM log is encountered and stop for next 5 mins (by enabling throttling) if OOM logs still keep generating. Following are the monitor details:\n\nMonitor Name: OOM Alert\n\nSchedule: By interval every 5mins\n\nDefine Monitor: Define using extraction query\n\n{\n    \"query\": {\n        \"bool\": {\n            \"must\": [\n                {\n                    \"range\": {\n                        \"@timestamp\": {\n                            \"from\": \"{{period_end}}||-1d\",\n                            \"to\": \"{{period_end}}\",\n                            \"include_lower\": true,\n                            \"include_upper\": true,\n                            \"boost\": 1\n                        }\n                    }\n                }\n            ],\n            \"should\": [\n                {\n                    \"wildcard\": {\n                        \"log\": {\n                            \"wildcard\": \"*outofmemory*\",\n                            \"rewrite\": \"constant_score\",\n                            \"boost\": 1\n                        }\n                    }\n                }\n            ],\n            \"adjust_pure_negative\": true,\n            \"boost\": 1\n        }\n    }\n}","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":653,"accepted":false,"category":"04-performance-and-load","secondary_categories":["02-discover-and-kql","07-alerting-and-watcher"],"sentiment":"negative","tags":["oom"]}
{"id":"so-57416935","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57416935/how-to-add-contains-filter-from-kibana-dashboard","posted_at":"2019-08-08T16:21:26.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"bot","score":4,"kind":"question","title":"How to add contains filter from Kibana dashboard?","body":"I want to add a filter say to display all the @log_name and log that contain say test keyword. I am seeing following fields on Kibana dashboard.\n\n\nlog \n@log_name\n_id\n_index\nhostname\n\n\nWhen I add a filter with @log_name is test it is not returning any results but when I add log is test it returns all the values that contain this keyword.\n\nI also tried @log_name is *test* and @log_name.keyword is *test* and I am not getting any results. I have following three questions here:\n\n1. How can I add a filter that returns the values that contain test in @log_name?\n\nUpdate: I figured out the way to add wildcard by editing query DSL.\n\n{\n  \"query\": {\n    \"wildcard\": {\n      \"@log_name\": {\n        \"value\": \"*test*\"\n      }\n    }\n  }\n}\n\n\n\nWhy I am able to search log containing test and not @log_name?\nWhat does @fieldName, _fieldName, fieldName mean on Kibana dashbaord?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":17893,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-57062732","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57062732/kibana-how-to-select-first-log-line-with-same-correlation-id","posted_at":"2019-07-16T17:37:27.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Ran Biron","score":4,"kind":"question","title":"Kibana - how to select first log line with same correlation id?","body":"I know it's not strictly supported by ES, but in a lot of log troubleshooting scenarios I need to get a previous (or the first) document with the same request id (aka correlation id).\n\nIn a relational DB I would've simply JOINed. Of course in ES, join or any kind of subquery isn't supported. I could potentially script this outside ES, but I'm looking for a shortcut (either something built into Kibana UI, a ready script or some other inventive way).\n\nIs there a way to use Kibana UI (as resource expensive as it needs to be) that can achieve the above? If not, is there a ready-made tool?\n\nBefore the XY-problem commenters jump in - since logging is inherently a time series, it's going to be hard to delay pushing log lines into ES until all information is known and the creating an aggregate. Even looking back for each log line to include the information from all the previous log lines \"just in case it's needed\" is prohibitively expensive and will cause the logging stack to become too slow to be functional.\n\nSo yes - ELK need to maintain one document per log line (more or less) and I sometimes need to be able to trace back and show aggregations over related log lines.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1451,"accepted":false,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","02-discover-and-kql"],"sentiment":"negative","tags":[]}
{"id":"so-56889555","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56889555/slow-elasticsearch-indexing-with-mongodb-and-monstache","posted_at":"2019-07-04T13:58:22.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Erdel","score":4,"kind":"question","title":"Slow elasticsearch indexing with mongodb and monstache","body":"I'm trying to integrate elasticsearch to my mongodb with monstache. Monstache, elasticsearch and kibana are working on my local machine. Mongodb is remote. All things seems running but indexing is so slow, hardly indexing single document in 2 minutes.\n\nI have increased refresh_interval of index, heap size of elasticsearch to 4gb and memory buffer to 30%. Server runs on 16gb ddr4. \n\nHere is how I run monstache:\n\nmonstache -elasticsearch-url \"http://localhost:9200\" -mongo-url 'XXXX' monstache -direct-read-namespace portaldb.candidate -verbose -resume false -replay false -stats\n\n\nThere are millions of documents in db and we need to make faster fulltext searches.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":339,"accepted":false,"category":"04-performance-and-load","secondary_categories":["12-maps-and-geo","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-56587604","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56587604/recursive-queries-in-elasticsearch-kibana","posted_at":"2019-06-13T19:44:22.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"a.ilchinger","score":4,"kind":"question","title":"Recursive queries in Elasticsearch/Kibana","body":"I have hierarchical Elasticsearch data, which I \"normalized\" into documents of the following mapping:\n\n_id | custom_id | parent_id | text | value\n\n\nWhere _id is the autogenerated Elasticsearch id, custom_id is an unique integer I assign and parent_id acts as a foreign key, referencing custom_id of a document when the the current document is a child of the referenced one. An example of two documents could like this:\n\nabc | 1 | -1 | foo | 123\ndef | 2 | 1 | bar | 456\n\n\nEvery document has exactly one (any parent_id > 0) or no (parent_id = -1) parent. The nesting can become arbitrarily deep, but is always bounded  and there will most likely be multiple top level parents.\n\nMy goal is to query the data for two answers:\n\n\nGiven a custom_id, what are all parents (so direct parent, grandparent, ...) of this document?\nGiven any query result, apply a filter that only childs of a given custom_id (which itself needn't be part of the original query result) match.\n\n\nElasticsearch join datatype is not applicable, because in my case, a single document can act as parent and child at the same time. The nested datatype does not allow this kind of searching.\n\nTo be clear, I want to return the query results in Kibana. Writing a script that does return one document at at time, recursively walking through the parent_id is certainly possible. What is required of me to make this work in Kibana and present the results either in the Discover page or in a visualisation (I think data table is a good fit)?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3310,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-53085983","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53085983/embed-kibana-visualizations-but-not-give-users-control","posted_at":"2018-10-31T14:41:18.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Yuri Makassiouk","score":4,"kind":"question","title":"Embed Kibana visualizations but not give users control?","body":"We have some dashboards in Kibana defined over indexes in Elasticsearch over logs from a multi tenant environment. I.e. we have records from multiple clients all in one index, so far for our own use (analysis of apps' behavior, system failures and so on).\n\nWe would like to give clients some statistics about their own activity (i.e. how many times which API call was used by their applications and so forth). I know that it is possible to use embed functionality i.e. get code that Kibana itself generates to access a dashboard or a single visualization. The problem with this approach is that the URL that we would have to make available to the client (for example, put in an iframe in a webpage) includes the filter which limits the data to only their Tenant ID. So, if they know IDs of other tenants, they could manipulate that code and get access to other client's logs, which is in our case not an option.\n\n\nIs there a way to achieve this? For example, through a proxy app that would take some hash code and map it to the tenant ID internally?\nAre there better/other ways to provide access to information prepared by Kibana? Some sort of offline renderer that would, say, take snapshots over a pre-defined time range and store them as static files? Anything that doesn't involve letting users see too much of what we have?\n\n\nWe are running Kibana 5.5.2 but an upgrade would also be an option.","product":["kibana"],"versions":["5.5.2"],"lang":"en","answer_count":0,"view_count":600,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring","08-spaces-and-rbac","09-upgrades-and-migration"],"sentiment":"negative","tags":[]}
{"id":"so-52415159","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52415159/fluentd-in-kubernetes-daemonset-selectively-parsing-different-logs","posted_at":"2018-09-19T22:47:01.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Fdo","score":4,"kind":"question","title":"Fluentd in Kubernetes DaemonSet selectively parsing different logs","body":"So the basic architecture is a Fluentd DaemonSet scrapping Docker logs from pods setup by following this blog post, which in the end makes use of these resources.\n\nI have multiple pods and services running in the Cluster and I can't control their log format. However I do have control over the services I'm working on and I would like to have them use a JSON output format that is compatible with Logstash (key-value).\n\nNow I don't know if there's a way to selectively parse certain logs through this extra step, because some of the services won't have these log format. Of course I want this data to be accessible to Elasticsearch/Kibana for data visualization.\n\nExample JSON formatted log (Rails app deployed):\n\n\nExample non JSON formatted log (CI/CD service):\n\n\nThe Fluentd specific configs are found on this file\n\nAny help/suggestions are greatly appreciated\n\nEDIT 1: More details provided\n\nSo the problem here is that a JSON log is extracted through the following steps\n\n# JSON Log Example\n{\"log\":\"2014/09/25 21:15:03 Got request with path wombat\\n\", \"stream\":\"stderr\", \"time\":\"2014-09-25T21:15:03.499185026Z\"}\n\n\nThe logs are being read from the docker logs in each node using tail type:\n\n<source>\n  @id fluentd-containers.log\n  @type tail\n  path /var/log/containers/*.log\n  pos_file /var/log/es-containers.log.pos\n  tag raw.kubernetes.*\n  read_from_head true\n  <parse>\n    @type multi_format\n    <pattern>\n      format json\n      time_key time\n      time_format %Y-%m-%dT%H:%M:%S.%NZ\n    </pattern>\n    <pattern>\n      format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/\n      time_format %Y-%m-%dT%H:%M:%S.%N%:z\n    </pattern>\n  </parse>\n</source>\n\n\nKubernetes metadata plugin adds extra data\n\n{\n  \"log\":\"2014/09/25 21:15:03 Got request with path wombat\\n\",\n  \"stream\":\"stderr\",\n  \"time\":\"2014-09-25T21:15:03.499185026Z\",\n  \"kubernetes\": {\n    \"namespace\": \"default\",\n    \"pod_name\": \"synthetic-logger-0.25lps-pod\",\n    \"container_name\": \"synth-lgr\"\n  },\n  \"docker\": {\n    \"container_id\": \"997599971ee6366d4a5920d25b79286ad45ff37a74494f262e3bc98d909d0a7b\"\n  }\n}\n\n\nHowever, I have a log that looks like the following:\n\n{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"HomeController\",\"action\":\"index\",\"status\":200,\"duration\":1922.45,\"view\":1912.5,\"db\":883.41,\"request_ip\":\"127.0.0.1\",\"@timestamp\":\"2018-09-20T16:43:17.322Z\",\"@version\":\"1\",\"message\":\"[200] GET / (HomeController#index)\"}\n\n\nAnd the problem with this is that the entire log will be \"jammed\" inside the \"log\" field, as you can see in the first screenshot posted above. I would guess that with kubernetes metadata it would be something like:\n\n{\n  \"log\":\"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"HomeController\",\"action\":\"index\",\"status\":200,\"duration\":1922.45,\"view\":1912.5,\"db\":883.41,\"request_ip\":\"127.0.0.1\",\"@timestamp\":\"2018-09-20T16:43:17.322Z\",\"@version\":\"1\",\"message\":\"[200] GET / (HomeController#index)\"}\",\n  \"stream\":\"stdout\",\n  \"time\":\"2014-09-25T21:15:03.499185026Z\",\n  \"kubernetes\": {\n    \"namespace\": \"default\",\n    \"pod_name\": \"rails-pod\",\n    \"container_name\": \"rails-app\"\n  },\n  \"docker\": {\n    \"container_id\": \"801599971ee6366d4a5921f25b79286ad45ff37a74494f260c3bc98d909d0a7b\"\n  }\n}\n\n\nI'm looking for a way to filter/parse/extract that data into something similar to this:\n\n{\n  \"rails-log\": {\n    \"method\": \"GET\",\n    \"path\": \"/\",\n    \"format\": \"html\",\n    \"controller\": \"HomeController\",\n    \"action\": \"index\",\n    ...\n    \"message\": \"[200] GET / (HomeController#index)\"\n  },\n  \"stream\":\"stdout\",\n  \"time\":\"2014-09-25T21:15:03.499185026Z\",\n  \"kubernetes\": {\n    \"namespace\": \"default\",\n    \"pod_name\": \"rails-pod\",\n    \"container_name\": \"rails-app\"\n  },\n  \"docker\": {\n    \"container_id\": \"801599971ee6366d4a5921f25b79286ad45ff37a74494f260c3bc98d909d0a7b\"\n  }\n}\n\n\nI have a feeling this can be achieved by a parse/filtering, I'm just unsure of how to go about putting this inside the fluentd configs (complete current configs found here)\n\nAfter the Kubernetes plugin executes (adds kubernetes specific metadata to the \"payload\") I can select (in Kibana) the logs from my specific service by doing a query with a filter: kubernetes.labels.app is '<service_name>'. Therefore this leads me to believe there's a way to make a \"conditional extraction/transformation\" of the \"log\" field into something I can work with.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1452,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","15-plugin-and-ecosystem","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-52381807","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52381807/read-only-kibana-dashboard-for-aws-elasticsearch-6-3","posted_at":"2018-09-18T08:05:42.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Prats","score":4,"kind":"question","title":"Read only kibana dashboard for AWS Elasticsearch 6.3","body":"I have a requirement of sharing just Kibana dashboard in view only access mode with customers.  \n\nThis is the first time I am working with Elasticsearch and Kibana. And this is my first Stackoverflow question. So, kindly bear with me.  \n\nOur team is using AWS Elasticsearch service with ES version 6.3, \nAWS does not provide access to ElasticSearch server and Kibana app server.    \n\nKibana has native support for Read Only dashboard as mentioned here -\n\nKibana dashboard only mode.  \n\nKibana 6.0 onwards there is support for read only dashboard feature.\nAlso, there is X-pack plugin for Kibana versions not natively supporting this feature.\n\nWith AWS ES Service, I installed standalone Kibana on a separate EC2 instance to use its readonly native feature.\n\nDownload Kibana6.2.4\n\nUsing AWS docs, I have configured kibana.yml\n\nStandalone Kibana looked exactly same as the one default with AWS ES, there is no options for user management.\n\nI installed X-pack plugin with kibana6.2.4 using following command:\n\nsudo ./bin/kibana-plugin install x-pack\n\n\nI got following exceptions :\n\nAuthentication Exception :: {\"path\":\"/_xpack\",\"statusCode\":401,\"response\":\"{\\\"Message\\\":\\\"Your request: '/_xpack' is not allowed.\\\"}\"}\n\n\nIf I use kibana6.3, it automatically starts throwing errors -\n\nAuthentication Exception :: {\"path\":\"/_xpack\",\"statusCode\":401,\"response\":\"{\\\"Message\\\":\\\"Your request: '/_xpack' is not allowed.\\\"}\"}\n\n\nIf I disable x-pack security feature,\n\nxpack.security.enabled: false\n\n\nkibana server will go indefinitely into an optimization mode on my aws ec2 t2.micro instance, cpu consumption would go upto 100% and after sometime instance stops responding.\n\nI found that some changes are required in elasticsearch.yml which resides on the ElasticSearch cluster instance which we don't have access to.\n\nI raised a support ticket to AWS and they said, view only kibana dashboard is not possible as of now. I have requested them to make it a feature request which they accepted but there is no ETA given\n\nThen, again I went further to find other solutions.\nI found that, a proxy setup can be used to restrict some ES REST API calls to make the kibana dashboard browsing experience as read only.\n\nHere are some links which I used -\n\nNginx configuration for Kibana-ElasticSearch read-only/read-write access\n\nKibana readonly over internet\n\nElasticsearch readonly rest plugin  \n\nThe rest plugin above requires access to ElasticSearch server which I don't have.\n\nAs another try, using links above, I setup an AWS EC2 t2.micro instance and configured nginx to serve as proxy to restrict backend ElasticSearch api calls to make Kibana read only.\n\nHere is my configuration snippet in nginx.conf -\n\n  set $posting 11;\n  if ( $request_method !~ ^(GET|POST|OPTIONS|HEAD)$ )                     { return 405; }\n  if ( $request_method = POST )                                           { set $posting 1; }\n  if ( $request_uri ~ ^/(.+)/(_search)(.*)$ ) { set $posting \"${posting}1\"; }\n  if ( $request_method ~ ^(GET|OPTIONS|HEAD)$ )                           { set $posting 11; }\n  if ( $posting != 11 ) { return 403; }\n\n  # for elb health checks\n  location /status {\n    root /usr/share/nginx/html/ ;\n  }\n\n  location / {\n    proxy_set_header Host search-<ES_DOMAIN>-<CRYPTO_STRING>.ap-south-1.es.amazonaws.com;\n    proxy_set_header X-Real-IP <PUBLIC IP>;\n\n    proxy_http_version 1.1;\n    proxy_set_header Connection \"Keep-Alive\";\n    proxy_set_header Proxy-Connection \"Keep-Alive\";\n    proxy_set_header Authorization \"\";\n\n    proxy_pass https://search-<ES_DOMAIN>-<CRYPTO_STRING>.ap-south-1.es.amazonaws.com/;\n    proxy_redirect https://search-<ES_DOMAIN>-<CRYPTO_STRING>.ap-south-1.es.amazonaws.com/_plugin/kibana/ http://<PUBLIC IP>/kibana/;\n  }\n\n\nWith this nginx setting, Kibana's Discover/Timelion/Dev Tools/Management page links wont work for save/delete, which is good.\n\nDiscover page goes blank, which is the right thing as no body can send their own queries.\n\nVisualize and Dashboard both work similarly, they show their item lists, which is fine, but after that both pages don't open any real graphs.\nI want even Visualize page should go blank but not the Dashboard page.\n\nWhen I looked into firefox/chrome browser inspect/dev tools, both Visualize and Dashboard pages make calls using following apis -\n\n\"_plugin/kibana/api/saved_objects/_bulk_get\",\n\n\"_msearch\",\n\n\"_plugin/kibana/api/timelion/run\"\n\nI am not sure how to stop all UI elements to work except view only links in Dashboard, even Visualize page should be fully restricted.\n\nI am trying to keep only Dashboard open for viewing its predefined graphs without any edit, save or delete options.\n\nAfter some research with Stackoverflow, I got few answers which are either old or not relevant or even requires access to ES/Kibana server which I don't have.\n\nThese are the Stackoverflow links:-\n\nIs custom kibana plugin installation in aws elasticsearch possible\n\nKibana read only dashboard\n\nHow to block selected kibana subpages using nginx\n\nKibana dashboard only mode\n\nAnother approach is given at this link, Applying read only permission to kibana dashboard\n\nBut this would lock the .kibana index and it would be a problem for other users using it.\n\nAny help or pointers would be highly appreciated. I am not able to solve this for many days by myself.","product":["kibana"],"versions":["6.3","6.0"],"lang":"en","answer_count":0,"view_count":3016,"accepted":false,"category":"15-plugin-and-ecosystem","secondary_categories":["01-dashboard-authoring","02-discover-and-kql","04-performance-and-load"],"sentiment":"negative","tags":["discover"]}
{"id":"so-51882687","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51882687/kibana-reporting-option-is-missing","posted_at":"2018-08-16T17:47:35.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"sid8491","score":4,"kind":"question","title":"Kibana - reporting option is missing","body":"According to Getting Started page there is an option of Reporting present in Dashboards.\n\nBut it is not present in any of my dashboards. Here how my top bar looks like :\n\n\nWhat am I missing?\n\nI am using kibana 6.3 version.","product":["kibana"],"versions":["6.3"],"lang":"en","answer_count":0,"view_count":1283,"accepted":false,"category":"06-sharing-and-export","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-51774854","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51774854/translate-elastic-search-numeric-field-to-a-text-value","posted_at":"2018-08-09T19:53:50.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Jay Pete","score":4,"kind":"question","title":"Translate Elastic Search numeric field to a text value","body":"I have an Elastic Search cluster with a lot of nice data, that I have created some nice Kibana dashboards for. \n\nFor the next level I decided to take a look at scripted fields to make some of the dashboards even nicer. \n\nI want to translate some of the numeric fields into more easily understandable text values. As an example of what I want to do and what I have tried I will use the http response status code field, that most will understand quite easily but also illustrates the problem.\n\nWe log the numeric status code (200, 201, 302, 400, 404, 500 etc.) I can create a data table visualization that tells me the count for each of these status codes. But I would like to display the text reason in my dashboard.\n\nI can create a painless script with a lot of IF statements like this:\n\nif (doc['statuscode'].value == 200) {return \"OK\";}\nif (doc['statuscode'].value == 201) {return \"Created\";}\nif (doc['statuscode'].value == 400) {return \"Bad Request\";}\nreturn doc['statuscode'].value;\n\n\nBut that isn't very nice I think.\n\nBut since I will most likely have about 150 different values and that list won't change very often, so I can live with maintaining a static map. But I haven't found any examples of implementing a map or dictionary in painless scripting.\n\nI was thinking of implementing something like this:\n\nMap reasonMap;\nreasonMap[200] = 'OK';\nreasonMap[201] = 'Created';\n\ndef reason = reasonMap[doc['statuscode'].value];\nif (reason != null)\n{\n   return reason;\n}\n\nreturn doc['statuscode'].value;\n\n\nI haven't been able to make this code work though. The question is also if this will perform well enough for a map with up to 150 values.\n\nThanks\n\nEDIT\n\nAfter some trial and error... and a lot of googling, this is what I came up with that works (notice that the key needs to start with a character and not a number): \n\ndef reasonMap = \n[\n  's200': 'OK',\n  's201': 'Created'\n];\ndef key = 's' + doc['statuscode'].value\n\ndef reason = reasonMap[key];\nif (reason != null)\n{\n   return reason;\n}\n\nreturn doc['statuscode'].value;","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1294,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","05-index-patterns-data-views","10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-51479661","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51479661/how-to-use-bucket-selector-in-kibana-data-visulization","posted_at":"2018-07-23T13:11:25.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Moshe Shwarzberg","score":4,"kind":"question","title":"How To Use Bucket Selector In Kibana Data Visulization?","body":"How can I use bucket_selector in the Data Table visulization?\n\nI see there is an open request for this feature here. I'm wondering if there is a way for me to get around the lack of this feature for now. I'm open to using something very hacky.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":310,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-50921726","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50921726/how-do-i-bundle-log-lines-by-request-in-kibana","posted_at":"2018-06-19T06:17:14.000Z","captured_at":"2026-04-14T13:23:56.219Z","author":"Joshua Fox","score":4,"kind":"question","title":"How do I bundle log-lines by request in Kibana?","body":"In Stackdriver Log Viewer (for our Google AppEngine app),  lines from a single HTTP-request follow each other sequentially, rather than being mixed into lines from other requests. Also, they are bundled in a  visually-distinguished, foldable section. See image below.\n\nThis is very useful in tracking behavior inside a single HTTP request.\n\nHow do we do this in Elastic Stack? (Each log-line does have  a request_id field.)","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":204,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-50825391","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50825391/is-it-possible-to-order-split-series-in-kibana-histograms-using-the-values-of-th","posted_at":"2018-06-12T20:29:53.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Akhil","score":4,"kind":"question","title":"Is it possible to order split series in Kibana histograms using the values of the split buckets?","body":"Say I have an index of product sales where each document is an individual sale for a specific product. I can use Kibana to chart a date histogram of sales counts, bucketing by every month. This would be the frequency of product sales every month. Here is an example:\n\nSales per Month\n\nI can also split that series using a terms aggregation on the product name, so I end up with the distribution of those sales across each product each month like so:\n\nSales across Products per Month\n\nWhat I can't do, which seems straightforward, is sort that distribution by the product count in that specific month. I can sort it alphabetically, or by the overall sales of that product, but I can't do it using the sales during that month. This means that if the most popular product overall is at the bottom of the bar (like the green product in the above image), it remains at the bottom always even if the sales count of that product for a particular month is lower than everything else.\n\nIs it possible to order this series by the product count in each month? In general, is there a way to order a split series by the value of each 'split'?","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1035,"accepted":false,"category":"12-maps-and-geo","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-50636867","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50636867/how-can-kibana-show-a-directed-graph-e-g-the-graphviz-dot-file","posted_at":"2018-06-01T05:52:06.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"HappyCoding","score":4,"kind":"question","title":"How can Kibana show a directed graph, e.g., the graphviz dot file?","body":"Is there a way to use Kibana and ElasticSearch to show a directed state graph? The input is a dot file, an example of the graphviz file is as follows.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":328,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-48378449","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48378449/elastic-search-get-latest-for-a-value","posted_at":"2018-01-22T09:38:25.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Ali Ok","score":4,"kind":"question","title":"Elastic search: get latest for a value","body":"I would like to store some mobile app version data on ElasticSearch and visualize it on Kibana/Grafana. The purpose is to know the usage of the app version.\n\nSay I have these \"mobile app init\" event entries in ElasticSearch (simplified):\n\n* clientId: ABC, clientVersion: 1.2.3, time: 2018-01-01\n* clientId: DEF, clientVersion: 1.2.3, time: 2018-01-02\n* clientId: GHI, clientVersion: 1.2.3, time: 2018-01-03\n* clientId: DEF, clientVersion: 1.2.3, time: 2018-01-04\n* clientId: GHI, clientVersion: 1.2.4, time: 2018-01-05\n\n\nAnd I would like to have a visualization in Kibana/Grafana like:\n\n* version 1.2.3: 2 installations\n* version 1.2.4: 1 installation\n\n\nAccording to data above, version 1.2.3 is currently in use by ABC and DEF.\nVersion 1.2.4 is in use by 1.2.4.\n\n\nABC has only 1 entry with 1.2.3.\nDEF has 2 entries, both with 1.2.3. Since I would like to see the usage of the app version per clients, duplicate data should be ignored.\nGHI has 2 entries, 1 with 1.2.3 and 1 with 1.2.4. But since the latest version entry is 1.2.4, 1.2.3 entry is ignored.\n\n\nIf I was doing this with some code for in memory data without ElasticSearch, the algorithm would be:\n\n\nget the latest entry for each client\ngroup them by the version and count each entry\n\n\nQuestions:\n\n\nHow to get the desired output with ElasticSearch queries?\nIf the thing asked in question#1 is not possible, how to create visualizations on Kibana/Grafana?\n\n\nPlease note that, I don't want to use update/upsert operations. I just would like to simply add documents to ElasticSearch.\n\nUPDATE: more info on this question.\n\nFrom this question, I can see the de-duplication of data is possible using top_hits aggregation:\nRemove duplicate documents from a search in Elasticsearch\n\nHowever, de-duplicating by clientId using top_hits and then grouping by clientId using terms is not possible. This is because top_hits aggregation doesn't accept any sub aggregations. Google for [top_hits] cannot accept sub-aggregations\"\n\nThis is how far I came:\n\nGET /metric/_search\n{\n  \"aggs\" : {\n    \"latestEntriesPerClients\" : {\n        \"terms\" : { \"field\" : \"clientid\" },\n        \"aggs\": {\n        \"1\": {\n          \"top_hits\": {\n            \"sort\": [{\n                \"date\": {\"order\": \"desc\"}\n            }],\n            \"size\": 1\n          }\n          //, THIS WON'T WORK\n          // \"aggs\": {\n          //  \"NAME\": {\n          //    \"terms\": {\"field\": \"clientVersion\"}\n          //  }\n          //}\n        }\n      }\n    }\n  }\n}\n\n\nSimplified output:\n\n* clientId: ABC, clientVersion: 1.2.3, time: 2018-01-01\n* clientId: DEF, clientVersion: 1.2.3, time: 2018-01-04\n* clientId: GHI, clientVersion: 1.2.4, time: 2018-01-05\n\n\nNow, how can I pipe this into some other aggregation? I tried pipeline aggregations but failed to get these values above grouped and counted.","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":856,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"negative","tags":[]}
{"id":"so-48304577","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/48304577/fluentd-posting-to-stdout-but-not-to-elasticsearch","posted_at":"2018-01-17T15:27:38.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"CrizR","score":4,"kind":"question","title":"Fluentd Posting to stdout but not to Elasticsearch","body":"Using Docker, I've set up three containers: one for Elasticsearch, one for fluentd, and one for Kibana. Elasticsearch is on port 9200, fluentd on 24224, and Kibana on 5600. My fluentd config file is:\n\n# INJECTED VIA DOCKER COMPOSE\n<source>\n  @type forward\n  port 24224\n  format json\n</source>\n\n#<filter **>\n#  @type stdout\n#</filter>\n\n#<filter **>\n # @type parser\n # format json\n # key_name log\n # hash_value_field log\n # reserve_data true\n#</filter>\n\n<match **>\n  @type copy\n  <store>\n    @type elasticsearch\n    hosts 172.18.0.1:9200\n    logstash_format true\n    logstash_prefix chris.risley\n    logstash_dateformat %Y%m%d\n    include_tag_key true\n    flush_interval 1s\n  </store>\n  <store>\n    @type stdout\n  </store>\n</match>\n\n\nUsing this fluent-logger library https://github.com/fluent/fluent-logger-python, I've added the fluentd handler to Python's native logging function and have been able to successfully use the logger in sending information to fluentd. Once it has been sent to fluentd, it should be being posted to elastic search while also showing up in terminal. In terminal everything seems to be working and I see the following:\n\nfluentd_1         | 2018-01-17 14:22:15.000000000 +0000 test-logger: \"{\\\"json\\\":\\\"message\\\", \\\"log\\\":\\\"work dammit\\\"}\"\n\n\nHowever, when checking Kibana, no data shows up in Elasticsearch. As you can see above in the fluentd configuration, I've tried using a filter as I thought it could potentially be some sort of formatting issue and I usually receive the following error message when messing around with the config:\n\n2018-01-16 16:50:13.641919751 +0000 fluent.warn: {\"retry_time\":2,\"next_retry_seconds\":\"2018-01-16 16:50:13 +0000\",\"chunk\":\"562e785fe25f67fcd8919dfd02992af2\",\"error\":\"#<Fluent::ElasticsearchOutput::ConnectionFailure: Can not reach Elasticsearch cluster ({:host=>\\\"docker.for.mac.localhost\\\", :port=>9200, :scheme=>\\\"http\\\"})!>\",\"message\":\"failed to flush the buffer. retry_time=2 next_retry_seconds=2018-01-16 16:50:13 +0000 chunk=\\\"562e785fe25f67fcd8919dfd02992af2\\\" error_class=Fluent::ElasticsearchOutput::ConnectionFailure error=\\\"Can not reach Elasticsearch cluster ({:host=>\\\\\"docker.for.mac.localhost\\\\\", :port=>9200, :scheme=>\\\\\"http\\\\\"})!\\\"\"}'\n\n2018-01-17 14:59:03 +0000 [error]: #0 Could not push log to Elasticsearch: {\"took\"=>0, \"errors\"=>true, \"items\"=>[{\"index\"=>{\"_index\"=>\"chris.risley-20180117\", \"_type\"=>\"fluentd\", \"_id\"=>\"AWEEoW6ECtI_aQclhe0C\", \"status\"=>400, \"error\"=>{\"type\"=>\"mapper_parsing_exception\", \"reason\"=>\"failed to parse [log]\", \"caused_by\"=>{\"type\"=>\"illegal_state_exception\", \"reason\"=>\"Can't get text on a START_OBJECT at 1:439\"}}}}]}\n\n\nAny idea what's happening? I really wish there was more documentation around issues.\n\nAnd in case this is the issue, here's how I'm using the fluentd logging library in Python:\n\nfrom fluent import handler\nfrom src.directlog import DirectLog\nimport logging.config\nimport yaml\nimport datetime\nimport msgpack\nfrom io import BytesIO\n\n\nclass ElasticLogger(object):\n\ndef __init__(self, tag, host, port, base_level, config=False, path='src/logging.yaml'):\n    \"\"\"\n    Constructs and initializes a logging facility that has a fluentd handler\n    :param tag: The logger's tag or name\n    :param host: The host url/ip of fluentd\n    :param port: The port of fluentd\n    :param base_level: The base level logging priority\n    :param config: Boolean to determine whether or not you configure with a dictionary\n    :param path: Path to dictionary\n    \"\"\"\n    self.tag = tag\n    self.host = host\n    self.port = port\n    self.base_level = base_level\n    self.logger = self.config(config, path)\n    # TODO: Abstract Out Authentication\n    self.back_up_logger = DirectLog(self.host, self.tag + str(datetime.datetime.now().strftime(\"%Y%M%d\")),\n                                    '#####', '#####', 10000, self.base_level, False)\n\n# Public\ndef build(self)->logging:\n    \"\"\"\n    Builds the logger and returns it for use\n    :return: The logger\n    \"\"\"\n    return self.logger\n\n# Private\ndef config(self, dict_config=False, path='src/logging.yaml')->logging:\n    \"\"\"\n    Configures the fluentd logger with the fields initialized in the constructor\n    :param dict_config: Boolean to determine whether or not to configure it with a dictionary\n    :param path: The path to the dictionary\n    :return: The logger\n    \"\"\"\n    logger = logging.getLogger(self.tag)\n    if dict_config:\n        with open(path) as fd:\n            conf = yaml.load(fd)\n        logging.config.dictConfig(conf['logging'])\n    else:\n        logging.basicConfig(level=self.base_level)\n    h = handler.FluentHandler(self.tag, host=self.host, port=self.port, buffer_overflow_handler=self.overflow_handler)\n    logger.addHandler(h)\n    return logger\n\n# Private\ndef overflow_handler(self, pendings):\n    \"\"\"\n    Used to save data that overflowed the buffer\n    :param pendings: The pending data?\n    :return: Nothing\n    \"\"\"\n    unpacker = msgpack.Unpacker(BytesIO(pendings))\n    for unpacked in unpacker:\n        print(unpacked)\n        # Uncomment to have data that overflowed the buffer be posted directly to elasticsearch\n        # self.back_up_logger.log(unpacked[2])\n\n\nif __name__ == '__main__':\n    local_host = '####'\n    el = ElasticLogger('test-logger', local_host, 24224, logging.NOTSET, False).build()\n    el.error('{\"json\":\"message\", \"log\":\"work dammit\"}')","product":["kibana"],"versions":["18.0.1"],"lang":"en","answer_count":1,"view_count":1807,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["12-maps-and-geo","08-spaces-and-rbac","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-43663265","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/43663265/how-do-to-use-fluentd-to-parse-multi-line-docker-logs","posted_at":"2017-04-27T16:27:35.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Tkwon123","score":4,"kind":"question","title":"How do to use fluentD to parse multi-line docker logs?","body":"I'm trying to aggregate my docker-compose logging environment using the fluentD driver, fluent, elastic, kibana.\n\nThe logs forward properly but the nested JSON objects each get recorded as a single event (see image). \n\n\n\nIs the proper method here to structure the data using custom regex? \n\nI have the following in my fluentd.conf\n\n<source>\n  type forward\n  port 24224\n  bind 0.0.0.0\n</source>\n\n<match docker.**>\n  type elasticsearch\n  logstash_format true\n  logstash_prefix logstash\n  host elasticsearch\n  port 9200\n  flush_interval 5s\n</match>","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2001,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-40556888","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40556888/create-elasticsearch-geo-point-using-serilog","posted_at":"2016-11-11T22:00:25.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"hsop","score":4,"kind":"question","title":"Create elasticsearch geo_point using Serilog","body":"I'm using Serilog to push log messages to elasticsearch, so I can visualize the log data in Kibana.\n\nNow, I'd like to push some geo_points to elastic. But how? Is it even possible?\n\nI've tried this:\n\nLog.ForContext<MyClass>().ForContext(\"GeoPoint\",     \ngeoPoint.text).Information(geoPointJSON);\n\n\nwith geoPointJSON containing a geo-point as object like this:\n\n{\n    \"text\":\"Test location\",\n    \"location\":\n    {\n        \"lat\":\"47,391624\",\n        \"lon\":\"12,635912\"\n     }\n}\n\n\n(https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html)\n\nBut then in Kibana I get this:\n\n{\n  \"_index\": \"logstash-2016.11.11\",\n  \"_type\": \"logevent\",\n  \"_id\": \"AVhVJug8Um5uh8sCEYD7\",\n  .\n  .\n  .\n    \"message\": \"{\\\"text\\\":\\\"Test location\\\",\\\"location\\\":  \n        {\\\"lat\\\":\\\"47,234325\\\",\\\"lon\\\":\\\"11,880672\\\"}}\",\n        \"fields\": {\n        \"GeoPoint\": \"Test location\",\n        \"SourceContext\": \"myClass\"\n    }\n}\n\n\nwhich doesn't seem right.\n\nCan I push geo-points to elasticsearch using serilog in order to visualize the geopoints with Kibanas Tile map? And how?","product":["kibana"],"versions":["11.11"],"lang":"en","answer_count":0,"view_count":268,"accepted":false,"category":"12-maps-and-geo","secondary_categories":["01-dashboard-authoring","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-38982922","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38982922/how-can-i-use-multiple-fields-in-kibana-pie-charts","posted_at":"2016-08-16T19:23:54.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Sidharth Rampally","score":4,"kind":"question","title":"How can I use multiple fields in Kibana Pie Charts?","body":"I want to make a pie chart in Kibana that uses two data fields. I want the chart to have only two slices, so for example, I would show myPizzasEaten/totalPizzas (kind of like a progress circle).","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":1198,"accepted":false,"category":"03-visualization-quality","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-35303425","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35303425/kibana-elasticsearch-filter-for-all-records-with-the-maximum-value-in-field","posted_at":"2016-02-09T22:27:33.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Scott","score":4,"kind":"question","title":"kibana/elasticsearch filter for &quot;all records with the maximum value in field&quot;","body":"I'm looking for a filter for an kibana visualization that will select only records having the maximum value in a specific field.*\n\nIn my case it's a timestamp field, so that only the most recent records are returned. It's a manually set field and all records generated by each run of an external process will have the same timestamp. I want the records from the most recent run.\n\nThis will be combined with other filters. So, e.g.,\n\n\"all documents with the largest value for the @timestamp field and {\"term\":{\"color\":\"red\"}}\n\n\nAny suggestions?\n\nThanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":782,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-33684412","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33684412/kibana-how-can-i-sort-by-the-relative-frequency-of-one-of-possible-values-in-ch","posted_at":"2015-11-13T01:19:31.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"shabunc","score":4,"kind":"question","title":"Kibana: how can I sort by the relative frequency of one of possible values in char?","body":"I'm working on following visualization: frequency of specific job build status result per job. Here's what it looks like:\n\n\n\nThe question is - how can I sort by one of the specific values, say, by \"success\"?\nI've taken tens of attempts to attack the issue, re-read docs but I'm still failing. Let's say that the field name is buildStatus.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":323,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-29489628","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29489628/kibana-weighted-average-for-gross-profit-margin","posted_at":"2015-04-07T10:43:18.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Bamato","score":4,"kind":"question","title":"Kibana weighted average for gross profit margin","body":"I'm currently implementing Kibana 4 (v4.0.0) as a financial dashboard for our company, order data is originating from ElasticSearch. I'm struggling with the absence of a weighted average metric aggregation for calculation of the gross profit margin for a certain time interval. A possibility exists to write a custom metric, however Kibana does not show/implement custom metrics in the table visualization construction.\n\nA small visualization of sample data:\n\n**Order 1**\n\nRevenue: 1000\n\nCost of goods sold: 800\n\nGross margin: 200\n\nGross margin percentage: 200 / 1000 = 0.2 (= 20%)\n\n\n**Order 2**\n\nRevenue: 100\n\nCost of goods sold: 20\n\nGross margin: 80\n\nGross margin percentage: 80 / 100 = 0.8 (= 80%)\n\n\nPlease refer to this page for calculation of the gross margin percentage\n\nI set the gross margin as a field per elasticsearch document (= order object). For example, order 1 has a 'gross_margin' field equal to 0.2. Simply returning an average of the 'gross_margin' fields (average aggregation) is not sufficient, since this would return 0.5 ((0.2 + 0.8) / 2), but the actual gross margin of the total collection is 0.254 (((1000 + 100) - (800 + 20)) / (1000 + 100)).\n\nPerhaps this weighted average is possible with Kibana via a workaround, but I'm not able to find it in the documentation whatsoever. I would greatly appreciate it if someone could provide guidance. Please don't hesitate to request more information when my question is not clear to you.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1097,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-23248698","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23248698/how-to-create-own-x-axis-and-y-axis-in-kibana","posted_at":"2014-04-23T15:21:39.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Rajesh","score":4,"kind":"question","title":"How to create own x-axis and y-axis in Kibana?","body":"I want to have my own field in x-axis and y-axis for a dashboard in kibana? Is it possible?\nI found an answer here, but does not help! Could anyone please guide me to get this.\n\nI am able to create custom x-axis & y -axis but i need to show two fields which is associated with one field on x axis as a value on y axis. i have attached sample data.\nThanks in Advance\n\nAnd the Dashboard i need to show looks like.\n\n\nThe Dashboard i am able to get is","product":["kibana"],"versions":[],"lang":"en","answer_count":0,"view_count":4196,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-18986803","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/18986803/is-it-possible-to-use-histogram-facet-or-its-curl-response-in-kibana","posted_at":"2013-09-24T16:13:26.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"lcd","score":4,"kind":"question","title":"Is it Possible to Use Histogram Facet or Its Curl Response in Kibana","body":"Is it possible to use a manually created histogram facet (or the results of its curl request) like this one in a Kibana dashboard:\n\n{\n    \"query\" : {\n        \"match_all\" : {}\n    },\n    \"facets\" : {\n        \"histo1\" : {\n            \"histogram\" : {\n                \"key_script\" : \"doc['date'].date.minuteOfHour * factor1\",\n                \"value_script\" : \"doc['num1'].value + factor2\",\n                \"params\" : {\n                    \"factor1\" : 2,\n                    \"factor2\" : 3\n                }\n            }\n        }\n    }\n}\n\n\nThanks","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":982,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-54035628","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54035628/convert-field-number-to-date-on-kibana-elastic-search","posted_at":"2019-01-04T08:49:07.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Jordi ubach manau","score":3,"kind":"question","title":"convert field number to date on kibana, elastic search","body":"I've a field number on Elasticsearch via Kibana.\n\nThis is an example field:\n\n\"insert.datePeticio:1,546,185,770,733\"\n\n\nI need to convert this field to date, for visualize purpose.\n\nHow can I parse it to date mode?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9137,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-59717191","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59717191/kibana-server-not-ready","posted_at":"2020-01-13T13:02:24.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Bubashan_kushan","score":3,"kind":"question","title":"Kibana Server Not Ready","body":"I configured Elastic search, Kibana and log stash cluster.\nElastic search is working fine, but Kibana is displaying an error stating Kibana Server Not Ready.\n\nLogs shows\n\n> x .kibana_task_manager_1.\"}\nJan 13 12:50:05 kibana-csi kibana[28007]: {\"type\":\"log\",\"@timestamp\":\"2020-01-13T12:50:05Z\",\"tags\":[\"info\",\"migrations\"],\"pid\":28007,\"message\":\"Creating index .kibana_1.\"}\nJan 13 12:50:05 kibana-csi kibana[28007]: {\"type\":\"log\",\"@timestamp\":\"2020-01-13T12:50:05Z\",\"tags\":[\"warning\",\"migrations\"],\"pid\":28007,\"message\":\"Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [.kibana_task_manager_1/4qj7_j5URN6TW2Pvr5qk7w] already exists, with { index_uuid=\\\"4qj7_j5URN6TW2Pvr5qk7w\\\" & index=\\\".kibana_task_manager_1\\\" }\"}\nJan 13 12:50:05 kibana-csi kibana[28007]: {\"type\":\"log\",\"@timestamp\":\"2020-01-13T12:50:05Z\",\"tags\":[\"warning\",\"migrations\"],\"pid\":28007,\"message\":\"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_task_manager_1 and restarting Kibana.\"}\nJan 13 12:50:35 kibana-csi kibana[28007]: {\"type\":\"log\",\"@timestamp\":\"2020-01-13T12:50:35Z\",\"tags\":[\"warning\",\"migrations\"],\"pid\":28007,\"message\":\"Unable to connect to Elasticsearch. Error: Request Timeout after 30000ms\"}\nJan 13 12:50:38 kibana-csi kibana[28007]: {\"type\":\"log\",\"@timestamp\":\"2020-01-13T12:50:38Z\",\"tags\":[\"warning\",\"migrations\"],\"pid\":28007,\"message\":\"Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [.kibana_1/LDkaYE3JQH2hhq4Xb4uDZw] already exists, with { index_uuid=\\\"LDkaYE3JQH2hhq4Xb4uDZw\\\" & index=\\\".kibana_1\\\" }\"}\n\n\nNeed help! \nI aslo tried deleting\n\ncurl -XDELETE 'http://ElasticsarchIP:9200/.kibana_1'  --header \"content-type: application/JSON\" -u elastic -p","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":9183,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","09-upgrades-and-migration"],"sentiment":"neutral","tags":[]}
{"id":"so-40769985","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/40769985/how-to-specify-index-and-date-time-field-in-timelion","posted_at":"2016-11-23T16:45:10.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Phil B","score":3,"kind":"question","title":"How to specify index and date / time field in Timelion?","body":"I'm trying to use the Timelion app in Kibana, but I don't find where to specify the index name and the time field. Is there a way to do that on-the-fly or does it have to be done in a configuration file somewhere? If so, where is that file?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4614,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-49796815","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49796815/index-id-identification-in-elasticsearch-kibana-visualization","posted_at":"2018-04-12T12:38:52.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Akshay Singhvi","score":3,"kind":"question","title":"Index ID identification in Elasticsearch/Kibana visualization","body":"\"kibanaSavedObjectMeta\": {\n          \"searchSourceJSON\": \"{\\\"index\\\":\\\"4eb9f840-3969-11e8-ae19-552e148747c3\\\",\\\"filter\\\":[],\\\"query\\\":{\\\"language\\\":\\\"lucene\\\",\\\"query\\\":\\\"\\\"}}\"\n        }\n\n\nThe above mentioned snippet is a exported JSON of a Kibana visualization. Without exporting this json is there a direct way to get this \n\\\"index\\\":\\\"4eb9f840-3969-11e8-ae19-552e148747c3\\ index id.\nAnd if i am not wrong this is supposed to be the index id as its common across visualization with same index.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":12596,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["01-dashboard-authoring","06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-31582368","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/31582368/kibana-grouping-values-of-same-field-in-bar-chart","posted_at":"2015-07-23T08:45:09.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Tarun Sapra","score":3,"kind":"question","title":"Kibana, grouping values of same field in bar chart","body":"I am currently exploring Kibana and one of the issues I am running into is that I am not able to group together values of the same field to create a bar chart.\n\nExample - Field's name is Country it has 6 unique values\n\nCanada, US, Uk, Germany, India, China.\n\nNow I want to create a bar chart having 3 bars with x-axis having North America(canada and US), Asia( India and China) ...and so on.\n\nI explored filter and sub-buckets but they don't seem to provide grouping of values instead filtering based on the field. \n\nThanks,","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":10892,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-71740219","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71740219/disable-security-on-elastic-and-kibana","posted_at":"2022-04-04T15:55:54.000Z","captured_at":"2026-04-14T13:23:57.016Z","author":"Abdelmoughit Gardam","score":3,"kind":"question","title":"Disable security on elastic and kibana","body":"Hello i'am new with elastic search.\nI followed this documentation in order to enable security, i set a password with only number and that is the main problem.\nhttps://www.elastic.co/guide/en/elasticsearch/reference/7.12/security-minimal-setup.html\nI found the problem when I wanted to login in kibana .(the image bellow).\nenter image description here\nNow i want to disable the security so i can work normally, or if there is some method which allow me change the password.","product":["kibana"],"versions":["7.12"],"lang":"en","answer_count":2,"view_count":18708,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-71259086","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71259086/elasticsearch-on-docker-failed-to-create-enrollment-token-when-generating-api","posted_at":"2022-02-24T22:40:32.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"j7skov","score":3,"kind":"question","title":"Elasticsearch on Docker - Failed to create enrollment token when generating API key","body":"Going through the Elasticsearch docs for setting up Elasticsearch/Kibana with Docker, but I'm getting several errors. I follow the steps exactly. I'm running this on an Ubuntu 20.04 EC2 instance. What am I doing wrong?\nHere's what I did:\n\ndocker pull docker.elastic.co/elasticsearch/elasticsearch:8.0.0\ndocker pull docker.elastic.co/kibana/kibana:8.0.0\ndocker network create elastic\ndocker run --name es01 --net elastic -p 9200:9200 -it docker.elastic.co/elasticsearch/elasticsearch:8.0.0\n\nAfter step 4, Elasticsearch says:\n\nA password is generated for the elastic user and output to the terminal, plus enrollment tokens for enrolling Kibana and adding additional nodes to your cluster.\n\nI get neither. Instead, I get these error logs:\n{\"@timestamp\":\"2022-02-24T22:28:24.318Z\", \"log.level\":\"ERROR\", \"message\":\"Failed to create enrollment token when generating API key\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"elasticsearch.server\",\"process.thread.name\":\"elasticsearch[a178a1e9d98b][generic][T#4]\",\"log.logger\":\"org.elasticsearch.xpack.security.enrollment.InternalEnrollmentTokenGenerator\",\"elasticsearch.cluster.uuid\":\"mC4ceJ2nT7i9-QF6V537Zg\",\"elasticsearch.node.id\":\"IthIKocaSACunHatZxePPw\",\"elasticsearch.node.name\":\"a178a1e9d98b\",\"elasticsearch.cluster.name\":\"docker-cluster\",\"error.type\":\"org.elasticsearch.action.UnavailableShardsException\",\"error.message\":\"[.security-7][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.security-7][0]] containing [index {[.security][fobYLX8BZdXU5J2_mb_p], source[{\\\"doc_type\\\":\\\"api_key\\\",\\\"creation_time\\\":1645741644265,\\\"expiration_time\\\":1645743444265,\\\"api_key_invalidated\\\":false,\\\"api_key_hash\\\":\\\"{PBKDF2}10000$PbPNTKm9i5HBuHO+W9snM/+0C1sf4OGjE3xC1m3xKew=$oQXD/UOSgR/hDNHz1IgNKoVOG4Zi0LkiPQW3IMPnRtA=\\\",\\\"role_descriptors\\\":{\\\"create_enrollment_token\\\":{\\\"cluster\\\":[\\\"cluster:admin/xpack/security/enroll/node\\\"],\\\"indices\\\":[],\\\"applications\\\":[],\\\"run_as\\\":[],\\\"metadata\\\":{},\\\"type\\\":\\\"role\\\"}},\\\"limited_by_role_descriptors\\\":{\\\"superuser\\\":{\\\"cluster\\\":[\\\"all\\\"],\\\"indices\\\":[{\\\"names\\\":[\\\"*\\\"],\\\"privileges\\\":[\\\"all\\\"],\\\"allow_restricted_indices\\\":false},{\\\"names\\\":[\\\"*\\\"],\\\"privileges\\\":[\\\"monitor\\\",\\\"read\\\",\\\"view_index_metadata\\\",\\\"read_cross_cluster\\\"],\\\"allow_restricted_indices\\\":true}],\\\"applications\\\":[{\\\"application\\\":\\\"*\\\",\\\"privileges\\\":[\\\"*\\\"],\\\"resources\\\":[\\\"*\\\"]}],\\\"run_as\\\":[\\\"*\\\"],\\\"metadata\\\":{\\\"_reserved\\\":true},\\\"type\\\":\\\"role\\\"}},\\\"name\\\":\\\"enrollment_token_API_key_fYbYLX8BZdXU5J2_mb_p\\\",\\\"version\\\":8000099,\\\"metadata_flattened\\\":null,\\\"creator\\\":{\\\"principal\\\":\\\"_xpack_security\\\",\\\"full_name\\\":null,\\\"email\\\":null,\\\"metadata\\\":{},\\\"realm\\\":\\\"__attach\\\",\\\"realm_type\\\":\\\"__attach\\\"}}]}] blocking until refresh]\",\"error.stack_trace\":\"org.elasticsearch.action.UnavailableShardsException: [.security-7][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.security-7][0]] containing [index {[.security][fobYLX8BZdXU5J2_mb_p], source[{\\\"doc_type\\\":\\\"api_key\\\",\\\"creation_time\\\":1645741644265,\\\"expiration_time\\\":1645743444265,\\\"api_key_invalidated\\\":false,\\\"api_key_hash\\\":\\\"{PBKDF2}10000$PbPNTKm9i5HBuHO+W9snM/+0C1sf4OGjE3xC1m3xKew=$oQXD/UOSgR/hDNHz1IgNKoVOG4Zi0LkiPQW3IMPnRtA=\\\",\\\"role_descriptors\\\":{\\\"create_enrollment_token\\\":{\\\"cluster\\\":[\\\"cluster:admin/xpack/security/enroll/node\\\"],\\\"indices\\\":[],\\\"applications\\\":[],\\\"run_as\\\":[],\\\"metadata\\\":{},\\\"type\\\":\\\"role\\\"}},\\\"limited_by_role_descriptors\\\":{\\\"superuser\\\":{\\\"cluster\\\":[\\\"all\\\"],\\\"indices\\\":[{\\\"names\\\":[\\\"*\\\"],\\\"privileges\\\":[\\\"all\\\"],\\\"allow_restricted_indices\\\":false},{\\\"names\\\":[\\\"*\\\"],\\\"privileges\\\":[\\\"monitor\\\",\\\"read\\\",\\\"view_index_metadata\\\",\\\"read_cross_cluster\\\"],\\\"allow_restricted_indices\\\":true}],\\\"applications\\\":[{\\\"application\\\":\\\"*\\\",\\\"privileges\\\":[\\\"*\\\"],\\\"resources\\\":[\\\"*\\\"]}],\\\"run_as\\\":[\\\"*\\\"],\\\"metadata\\\":{\\\"_reserved\\\":true},\\\"type\\\":\\\"role\\\"}},\\\"name\\\":\\\"enrollment_token_API_key_fYbYLX8BZdXU5J2_mb_p\\\",\\\"version\\\":8000099,\\\"metadata_flattened\\\":null,\\\"creator\\\":{\\\"principal\\\":\\\"_xpack_security\\\",\\\"full_name\\\":null,\\\"email\\\":null,\\\"metadata\\\":{},\\\"realm\\\":\\\"__attach\\\",\\\"realm_type\\\":\\\"__attach\\\"}}]}] blocking until refresh]\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.retryBecauseUnavailable(TransportReplicationAction.java:1076)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:872)\\n\\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase$2.onTimeout(TransportReplicationAction.java:1031)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263)\\n\\tat org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651)\\n\\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:717)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\\n\\tat java.base/java.lang.Thread.run(Thread.java:833)\\n\"}\n{\"@timestamp\":\"2022-02-24T22:28:47.612Z\", \"log.level\":\"ERROR\", \"message\":\"error downloading geoip database [GeoLite2-ASN.mmdb]\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"elasticsearch.server\",\"process.thread.name\":\"elasticsearch[a178a1e9d98b][generic][T#6]\",\"log.logger\":\"org.elasticsearch.ingest.geoip.GeoIpDownloader\",\"elasticsearch.cluster.uuid\":\"mC4ceJ2nT7i9-QF6V537Zg\",\"elasticsearch.node.id\":\"IthIKocaSACunHatZxePPw\",\"elasticsearch.node.name\":\"a178a1e9d98b\",\"elasticsearch.cluster.name\":\"docker-cluster\",\"error.type\":\"org.elasticsearch.action.UnavailableShardsException\",\"error.message\":\"[.geoip_databases][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.geoip_databases][0]] containing [index {[.geoip_databases][GeoLite2-ASN.mmdb_0_1645741637264], source[n/a, actual length: [1mb], max length: 2kb]}]]\",\"error.stack_trace\":\"org.elasticsearch.action.UnavailableShardsException: [.geoip_databases][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.geoip_databases][0]] containing [index {[.geoip_databases][GeoLite2-ASN.mmdb_0_1645741637264], source[n/a, actual length: [1mb], max length: 2kb]}]]\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.retryBecauseUnavailable(TransportReplicationAction.java:1076)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:872)\\n\\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase$2.onTimeout(TransportReplicationAction.java:1031)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263)\\n\\tat org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651)\\n\\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:717)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\\n\\tat java.base/java.lang.Thread.run(Thread.java:833)\\n\"}\n{\"@timestamp\":\"2022-02-24T22:28:54.310Z\", \"log.level\":\"ERROR\", \"message\":\"Failed to generate credentials for the elastic built-in superuser\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"elasticsearch.server\",\"process.thread.name\":\"elasticsearch[a178a1e9d98b][generic][T#7]\",\"log.logger\":\"org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration\",\"elasticsearch.cluster.uuid\":\"mC4ceJ2nT7i9-QF6V537Zg\",\"elasticsearch.node.id\":\"IthIKocaSACunHatZxePPw\",\"elasticsearch.node.name\":\"a178a1e9d98b\",\"elasticsearch.cluster.name\":\"docker-cluster\",\"error.type\":\"org.elasticsearch.action.UnavailableShardsException\",\"error.message\":\"[.security-7][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.security-7][0]] containing [index {[.security][reserved-user-elastic], source[{\\\"password\\\":\\\"ff1DWkSBw4Cju0b8U7PM\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"reserved-user\\\"}]}] and a refresh]\",\"error.stack_trace\":\"org.elasticsearch.action.UnavailableShardsException: [.security-7][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.security-7][0]] containing [index {[.security][reserved-user-elastic], source[{\\\"password\\\":\\\"ff1DWkSBw4Cju0b8U7PM\\\",\\\"enabled\\\":true,\\\"type\\\":\\\"reserved-user\\\"}]}] and a refresh]\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.retryBecauseUnavailable(TransportReplicationAction.java:1076)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase.doRun(TransportReplicationAction.java:872)\\n\\tat org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\\n\\tat org.elasticsearch.action.support.replication.TransportReplicationAction$ReroutePhase$2.onTimeout(TransportReplicationAction.java:1031)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:345)\\n\\tat org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:263)\\n\\tat org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:651)\\n\\tat org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:717)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\\n\\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\\n\\tat java.base/java.lang.Thread.run(Thread.java:833)\\n\"}\n\nThey are long messages. Here's the error portion of the above:\n\"Failed to create enrollment token when generating API key\"\n\"error downloading geoip database [GeoLite2-ASN.mmdb]\"\n\"Failed to generate credentials for the elastic built-in superuser\"\n\"error downloading geoip database [GeoLite2-City.mmdb]\"","product":["kibana"],"versions":["8.0.0"],"lang":"en","answer_count":2,"view_count":10235,"accepted":true,"category":"04-performance-and-load","secondary_categories":["08-spaces-and-rbac","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-66753068","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66753068/can-filebeat-parse-json-fields-instead-of-the-whole-json-object-into-kibana","posted_at":"2021-03-22T20:00:54.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"theBigCheese88","score":3,"kind":"question","title":"Can Filebeat parse JSON fields instead of the whole JSON object into kibana?","body":"I am able to get a single JSON object in Kibana:\n\nBy having this in the filebeat.yml file:\noutput.elasticsearch:\n  hosts: [\"localhost:9200\"]\n\nHow can I get the individual elements in the JSON string. So say if I wanted to compare all the \"pseudorange\" fields of all my JSON objects. How would I:\n\nSelect \"pseudorange\" field from all my JSON messages to compare them.\nCompare them visually in kibana. At the moment I can't even find the message let alone the individual fields in the visualisation tab...\n\nI have heard of people using logstash to parse the string somehow but is there no way of doing this simply with filebeat? If there isn't then what do I do with logstash to help filter the individual fields in the json instead of have my message just one big json string that I cannot interact with?\nI get the following output from output.console, note I am putting some information in <> to hide it:\n  \"@timestamp\": \"2021-03-23T09:37:21.941Z\",\n  \"@metadata\": {\n    \"beat\": \"filebeat\",\n    \"type\": \"doc\",\n    \"version\": \"6.8.14\",\n    \"truncated\": false\n  },\n  \"message\": \"{\\n\\t\\\"Signal_data\\\" : \\n\\t{\\n\\t\\t\\\"antenna type:\\\" : \\\"GPS\\\",\\n\\t\\t\\\"frequency type:\\\" : \\\"GPS\\\",\\n\\t\\t\\\"position x:\\\" : 0.0,\\n\\t\\t\\\"position y:\\\" : 0.0,\\n\\t\\t\\\"position z:\\\" : 0.0,\\n\\t\\t\\\"pseudorange:\\\" : 20280317.359730639,\\n\\t\\t\\\"pseudorange_error:\\\" : 0.0,\\n\\t\\t\\\"pseudorange_rate:\\\" : -152.02620448094211,\\n\\t\\t\\\"svid\\\" : 18\\n\\t}\\n}\\u0000\",\n  \"source\": <ip address>,\n  \"log\": {\n    \"source\": {\n      \"address\": <ip address>\n    }\n  },\n  \"input\": {\n    \"type\": \"udp\"\n  },\n  \"prospector\": {\n    \"type\": \"udp\"\n  },\n  \"beat\": {\n    \"name\": <ip address>,\n    \"hostname\": \"ip-<ip address>\",\n    \"version\": \"6.8.14\"\n  },\n  \"host\": {\n    \"name\": \"ip-<ip address>\",\n    \"os\": {\n      <ubuntu info>\n    },\n    \"id\": <id>,\n    \"containerized\": false,\n    \"architecture\": \"x86_64\"\n  },\n  \"meta\": {\n    \"cloud\": {\n      <cloud info>\n    }\n  }\n}","product":["kibana"],"versions":["6.8.14"],"lang":"en","answer_count":2,"view_count":13348,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-30926484","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/30926484/passing-elasticsearch-and-kibana-config-file-to-docker-containers","posted_at":"2015-06-18T21:56:23.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"liv2hak","score":3,"kind":"question","title":"Passing Elasticsearch and Kibana config file to docker containers","body":"I have found a docker image devdb/kibana which runs Elasticsearch 1.5.2 and Kibana 4.0.2. However I would like to pass into this docker container the configuration files for both Elasticsearch (i.e elasticsearch.yml) and Kibana (i.e config.js)\n\nCan I do that with this image itself? Or for that would I have to build a separate docker container?","product":["kibana"],"versions":["5.2"],"lang":"en","answer_count":1,"view_count":5682,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-55297263","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/55297263/elasticsearchunknown-command-search-index","posted_at":"2019-03-22T10:09:24.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"ashfak","score":3,"kind":"question","title":"Elasticsearch:Unknown command: &#39;search_index&#39;","body":"Hi I am trying to implement elasticsearch using django. I am following this tutorial \n\n\n  https://www.codementor.io/samueljames/using-django-with-elasticsearch-logstash-and-kibana-elk-stack-9l4fwx138\n\n\nI am getting ,\n\nUnknown command: 'search_index'\n\n\nType 'manage.py help' for usage.\n\nwhen trying to create index using cmd\n\npython manage.py search_index --rebuild\n\n\nplease help","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2196,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-53884110","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/53884110/how-to-add-default-timestamp-to-my-elastic-search-data","posted_at":"2018-12-21T11:33:42.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Nusrath","score":3,"kind":"question","title":"How to add default @timestamp to my elastic search data","body":"I am trying to populate dashboard in kibana with Elasticsearch data on date fields .\nI have log file with dates and i find that i don't  have @timestamp in it.\n\nHere is mapping :\n\nPUT test2\n{\n  \"settings\": {\n    \"index.mapping.ignore_malformed\": true \n  },\n  \"mappings\": {\n    \"my_type\": {\n      \"properties\": {\n    \"Size\": {\"type\": \"integer\",\"ignore_malformed\": true },\n    \"Copy Size\": {\"type\": \"integer\",\"ignore_malformed\": true }\n    \"Email Sent Time\": {\"type\": \"date\"},\n    \"Creation Time\": {\"type\": \"date\"},\n    \"Modification Time\": {\"type\": \"date\"}\n      }\n    }\n  }\n}\n\n\nHow to add default timestamp? To create area chart in kibana.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":17179,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["05-index-patterns-data-views","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-38029795","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38029795/integration-of-kibana-in-custom-application","posted_at":"2016-06-25T15:02:59.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"user3718420","score":3,"kind":"question","title":"Integration of kibana in custom application","body":"i am very new to EKL Stack and for my project we have requirement to integrate kibana in our custom applications dashboard. \nSo we are capturing the data through logstash and able to see it in kibana . But for our requirement we have to integrate kibana inside our local applications dashboard so on clicking on some link  we should open the page and show the graph in our application .\nSo is it possible to integrate the show kibana charts inside our custom application.\nOr we have to query elastic search and create similar UI as kibana to show the trends .\n\nthanks in advance.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":11503,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-72882239","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72882239/need-a-docker-compose-for-installing-elastic-search-and-kibana-with-password-for","posted_at":"2022-07-06T10:49:19.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Gaurav Sachan","score":3,"kind":"question","title":"Need a docker-compose for installing elastic search and kibana with password for kibana, for ELK stack version 8","body":"version: \"3.0\"\nservices:\n  elasticsearch:\n    container_name: es-container\n    image: docker.elastic.co/elasticsearch/elasticsearch:7.11.0\n    environment:\n      - xpack.security.enabled=false\n      - \"discovery.type=single-node\"\n    volumes:\n      - ./esdata:/usr/share/elasticsearch/data\n    networks:\n      - es-net\n    ports:\n      - 9200:9200\n  kibana:\n    container_name: kb-container\n    image: docker.elastic.co/kibana/kibana:7.11.0\n    environment:\n      - ELASTICSEARCH_HOSTS=http://es-container:9200\n    networks:\n      - es-net\n    depends_on:\n      - elasticsearch\n    ports:\n      - 5601:5601\n    volumes:\n      - kibanadata:/usr/share/kibana/data\nnetworks:\n  es-net:\n    driver: bridge\n\nvolumes:\n  esdata:\n    driver: local\n  kibanadata:\n    driver: local\n\nThis doesn't run ES in a cluster or have a password enabled, Also I need a version of 8, when I try that I get an error connecting kibana with ES.\nCan some help me with a working docker-compose.yaml","product":["kibana"],"versions":["7.11.0"],"lang":"en","answer_count":2,"view_count":7826,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-63123519","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63123519/how-to-query-kibana-data-through-rest-api","posted_at":"2020-07-27T21:01:15.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"EnnioMorricone","score":3,"kind":"question","title":"How to query Kibana data through REST API","body":"I have access to someone's Kibana dashboard. I want a programmatic way of accessing the data there from one of the panels. Is there a way to do this ?\neg: Is there is a REST API access to query for data with parameters like time range.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":15115,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-59002414","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59002414/kibana-and-elasticsearch-in-docker-coexist-with-standard-install","posted_at":"2019-11-22T22:10:49.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Zemmels","score":3,"kind":"question","title":"Kibana and Elasticsearch in Docker, coexist with standard install","body":"I am trying to setup a new version of Kibana and Elasticsearch on my server. I have an existing K and E running with default ports (5601, 9200) and upgrading the existing data is not an option. I'd like to run newer versions (7.4.2) of K and E in Docker, using different ports (5611:5601, 9211:9200) to access the containers. I have new data area available.  \n\nI believe I have Elasticsearch running correctly, but Kibana's overrides for finding Elasticsearch are not working for me. I've attached my docker-compose.yml file.\n\nThank you in advance for your help.\n\nversion: '3'\n\nnetworks:\n  elk01:\n    driver: bridge\n\nservices:\n  es01:\n    image: elasticsearch:7.4.2\n    container_name: es01\n    user: \"983\"\n    networks:\n      - elk01\n    environment:\n      #- cluster.initial_master_nodes=es01\n      - cluster.name=docker-cluster\n      - discovery.type=single-node\n      - bootstrap.memory_lock=true\n      - \"ES_JAVA_OPTS=-Xms4g -Xmx4g -XX:-HeapDumpOnOutOfMemoryError\"\n      #- ES_JAVA_OPTS: \"-Xms4g -Xmx4g -XX:-HeapDumpOnOutOfMemoryError\"\n    ulimits:\n      memlock:\n        soft: -1\n        hard: -1\n    ports:\n      - \"9211:9200\"\n      - \"9311:9300\"\n    expose:\n      - \"9211\"\n    volumes:\n      - /elk/elk7_4_2/elasticsearch/data:/usr/share/elasticsearch/data\n      - /elk/elk7_4_2/elasticsearch/logs:/usr/share/elasticsearch/logs\n\n  k01:\n    depends_on:\n    - es01\n    image: kibana:7.4.2\n    container_name: k01\n    user: \"981\"\n    networks:\n      - elk01\n    environment:\n      - SERVER_NAME=kibana.localhost\n      - ELASTICSEARCH_URL=http://es01:9211\n      - ELASTICSEARCH_HOST=es01\n      - ELASTICSEARCH_PORT=9211\n      #- ELASTICSEARCH_USERNAME=elastic\n      #- ELASTIC_PWD=changeme\n      #- KIBANA_PWD=changeme\n      - xpack.security.enabled=false\n    ports:\n      - \"5611:5601\"\n    expose:\n      - \"5611\"\n\n\nKibana errors \n\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:58Z\",\"tags\":[\"reporting\",\"browser-driver\",\"warning\"],\"pid\":8,\"message\":\"Enabling the Chromium sandbox provides an additional layer of protection.\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"error\",\"elasticsearch\",\"admin\"],\"pid\":8,\"message\":\"Request error, retrying\\nHEAD http://elasticsearch:9200/.apm-agent-configuration => getaddrinfo ENOTFOUND elasticsearch elasticsearch:9200\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"error\",\"elasticsearch\",\"admin\"],\"pid\":8,\"message\":\"Request error, retrying\\nGET http://elasticsearch:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip => getaddrinfo ENOTFOUND elasticsearch elasticsearch:9200\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":8,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":8,\"message\":\"No living connections\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":8,\"state\":\"red\",\"message\":\"Status changed from yellow to red - No Living connections\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}\nk01     | {\"type\":\"log\",\"@timestamp\":\"2019-11-22T22:08:59Z\",\"tags\":[\"status\",\"plugin:[email protected]\",\"error\"],\"pid\":8,\"state\":\"red\",\"message\":\"Status changed from yellow to red - No Living connections\",\"prevState\":\"yellow\",\"prevMsg\":\"Waiting for Elasticsearch\"}","product":["kibana"],"versions":["7.4.2"],"lang":"en","answer_count":2,"view_count":5329,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","13-observability-apm","06-sharing-and-export"],"sentiment":"neutral","tags":["apm"]}
{"id":"so-56180011","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56180011/kibana-not-able-to-start-kibana-on-windows-10","posted_at":"2019-05-17T05:13:43.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"StackOverFlow","score":3,"kind":"question","title":"Kibana - Not able to start kibana on windows 10","body":"I want to implement centralized configuration with ELK for our Spring boot microservices.\n\nI have installed 3 different version of Kibana 6.3 , 6.7  and 7 version.\nun-comment port and elasticsearch.url (used default value - elastic search running)\n\nGetting following warning and error continuously on console\n\n    log   [05:40:20.028] [warning][task_manager] \n    The task maps_telemetry \"Maps-maps_telemetry\" is not cancellable.\n    log   [05:40:24.145] [error][security] \n    Error registering Kibana Privileges with Elasticsearch for kibana-.kibana: \n[security_exception] current license is non-compliant for [security], with { license.expired.feature=\"security\" }\n\n\nnpm -v\n5.5.1\n\nnode -v\nv8.9.3\n\njava -version\n1.8.121\n\nYour help will be appreciated to resolve this issue so that I can use kibana.","product":["kibana"],"versions":["6.3","6.7","5.5.1","9.3"],"lang":"en","answer_count":3,"view_count":3837,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":["license"]}
{"id":"so-50931623","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/50931623/multi-line-logs-into-es-from-filebeat-deployed-as-kubernetes-daemonset","posted_at":"2018-06-19T15:05:55.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Dushmantha","score":3,"kind":"question","title":"Multi-line logs into ES from filebeat deployed as Kubernetes Daemonset","body":"I have setup filebeat as a daemonset in kubernetes to forward logs to ES + kibana from docker containers. \n(by referencing https://www.elastic.co/guide/en/beats/filebeat/master/running-on-kubernetes.html)\nAnd the logs are forward sucessfuly.\n\nThe problem is when there are multi-line logs, they are forwarded to ES as separate log lines. \n\nhere is the part where I have configured multiline filter my filebeat-kuberneted.yaml\n\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: filebeat-prospectors\n  namespace: kube-system\n  labels:\n    k8s-app: filebeat\n    kubernetes.io/cluster-service: \"true\"\ndata:\n  kubernetes.yml: |-\n    - type: docker\n      containers.ids:\n      - \"${data.kubernetes.container.id}\"\n      processors:\n        - add_kubernetes_metadata:\n            in_cluster: true\n      multiline:\n        pattern: '^[[:space:]]'\n        negate: false\n        match: after\n---\n\n\nHere is my full filebeat-kuberneted.yaml file\n\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: filebeat-config\n  namespace: kube-system\n  labels:\n    k8s-app: filebeat\n    kubernetes.io/cluster-service: \"true\"\ndata:\n  filebeat.yml: |-\n    filebeat.config:\n      prospectors:\n        # Mounted `filebeat-prospectors` configmap:\n        path: ${path.config}/prospectors.d/*.yml\n        # Reload prospectors configs as they change:\n        reload.enabled: true\n      modules:\n        path: ${path.config}/modules.d/*.yml\n        # Reload module configs as they change:\n        reload.enabled: false\n\n    filebeat.autodiscover:\n      providers:\n        - type: kubernetes\n          templates:\n            - condition:\n                or:\n                  - equals:\n                      kubernetes.container.name: customer-infor-service\n                config:\n                - type: docker\n                  containers.ids:\n                    - \"${data.kubernetes.container.id}\"\n                  multiline.pattern: '^[[:space:]]'\n                  multiline.negate: false\n                  multiline.match: after\n\n    processors:\n      - add_cloud_metadata:\n\n    cloud.id: ${ELASTIC_CLOUD_ID}\n    cloud.auth: ${ELASTIC_CLOUD_AUTH}\n\n    output.elasticsearch:\n      hosts: [ \"192.168.1.245:9200\"]\n      username: \"\"\n      password: \"\"\n---\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: filebeat-prospectors\n  namespace: kube-system\n  labels:\n    k8s-app: filebeat\n    kubernetes.io/cluster-service: \"true\"\ndata:\n  kubernetes.yml: |-\n    - type: docker\n      containers.ids:\n      - \"${data.kubernetes.container.id}\"\n      processors:\n        - add_kubernetes_metadata:\n            in_cluster: true\n---\napiVersion: extensions/v1beta1\nkind: DaemonSet\nmetadata:\n  name: filebeat\n  namespace: kube-system\n  labels:\n    k8s-app: filebeat\n    kubernetes.io/cluster-service: \"true\"\nspec:\n  template:\n    metadata:\n      labels:\n        k8s-app: filebeat\n        kubernetes.io/cluster-service: \"true\"\n    spec:\n      serviceAccountName: filebeat\n      terminationGracePeriodSeconds: 30\n      containers:\n      - name: filebeat\n        image: docker.elastic.co/beats/filebeat:6.2.4\n        args: [\n          \"-c\", \"/etc/filebeat.yml\",\n          \"-e\",\n        ]\n        env:\n        - name: ELASTICSEARCH_HOST\n          value: \"192.168.1.245\"\n        - name: ELASTICSEARCH_PORT\n          value: \"9200\"\n        - name: ELASTICSEARCH_USERNAME\n          value: \"\"\n        - name: ELASTICSEARCH_PASSWORD\n          value: \"\"\n        - name: ELASTIC_CLOUD_ID\n          value:\n        - name: ELASTIC_CLOUD_AUTH\n          value:\n        securityContext:\n          runAsUser: 0\n        resources:\n          limits:\n            memory: 200Mi\n          requests:\n            cpu: 100m\n            memory: 100Mi\n        volumeMounts:\n        - name: config\n          mountPath: /etc/filebeat.yml\n          readOnly: true\n          subPath: filebeat.yml\n        - name: prospectors\n          mountPath: /usr/share/filebeat/prospectors.d\n          readOnly: true\n        - name: data\n          mountPath: /usr/share/filebeat/data\n        - name: varlibdockercontainers\n          mountPath: /var/lib/docker/containers\n          readOnly: true\n      volumes:\n      - name: config\n        configMap:\n          defaultMode: 0600\n          name: filebeat-config\n      - name: varlibdockercontainers\n        hostPath:\n          path: /var/lib/docker/containers\n      - name: prospectors\n        configMap:\n          defaultMode: 0600\n          name: filebeat-prospectors\n      - name: data\n        emptyDir: {}\n---\napiVersion: rbac.authorization.k8s.io/v1beta1\nkind: ClusterRoleBinding\nmetadata:\n  name: filebeat\nsubjects:\n- kind: ServiceAccount\n  name: filebeat\n  namespace: kube-system\nroleRef:\n  kind: ClusterRole\n  name: filebeat\n  apiGroup: rbac.authorization.k8s.io\n---\napiVersion: rbac.authorization.k8s.io/v1beta1\nkind: ClusterRole\nmetadata:\n  name: filebeat\n  labels:\n    k8s-app: filebeat\nrules:\n- apiGroups: [\"\"] # \"\" indicates the core API group\n  resources:\n  - namespaces\n  - pods\n  verbs:\n  - get\n  - watch\n  - list\n---\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n  name: filebeat\n  namespace: kube-system\n  labels:\n    k8s-app: filebeat\n---\n\n\nHowever I am able to successfully apply filebeat multi-line filter on docker without kubernetes as well as on non-docker deployments. So I guess the problem is with my filebeat-kuberneted.yaml configuration file. \n\nAm I missing something in my filebeat-kuberneted.yaml configuration?.","product":["kibana"],"versions":["6.2.4"],"lang":"en","answer_count":2,"view_count":5127,"accepted":true,"category":"08-spaces-and-rbac","secondary_categories":["02-discover-and-kql","04-performance-and-load","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-71873465","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/71873465/elasticsearch-bootstrap-checks-failing-max-virtual-memory-areas-error","posted_at":"2022-04-14T14:44:18.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Abdelmoughit Gardam","score":3,"kind":"question","title":"Elasticsearch - Bootstrap checks failing max virtual memory areas error","body":"Hello I want to install elk on docker, so I followed the official documentation https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html\nSo when I want to start Elasticsearch in Docker to get the password generated for the elastic user and the enrollment token for enrolling Kibana by executing this command:\ndocker run --name es01 --net elastic -p 9200:9200 -p 9300:9300 -it docker.elastic.co/elasticsearch/elasticsearch:8.1.2\nI get this error:\nERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.\nbootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]\nERROR: Elasticsearch did not exit normally - check the logs at /usr/share/Elasticsearch/logs/docker-cluster.log\n{\"@timestamp\":\"2022-04-14T12:39:58.449Z\", \"log.level\": \"INFO\", \"message\":\"stopping ...\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"Elasticsearch.server\",\"process.thread.name\":\"Thread-2\",\"log.logger\":\"org.Elasticsearch.node.Node\",\"Elasticsearch.node.name\":\"50af9edc5c7d\",\"Elasticsearch.cluster.name\":\"docker-cluster\"}\n{\"@timestamp\":\"2022-04-14T12:39:58.512Z\", \"log.level\": \"INFO\", \"message\":\"stopped\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"Elasticsearch.server\",\"process.thread.name\":\"Thread-2\",\"log.logger\":\"org.Elasticsearch.node.Node\",\"Elasticsearch.node.name\":\"50af9edc5c7d\",\"Elasticsearch.cluster.name\":\"docker-cluster\"}\n{\"@timestamp\":\"2022-04-14T12:39:58.513Z\", \"log.level\": \"INFO\", \"message\":\"closing ...\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"Elasticsearch.server\",\"process.thread.name\":\"Thread-2\",\"log.logger\":\"org.Elasticsearch.node.Node\",\"Elasticsearch.node.name\":\"50af9edc5c7d\",\"Elasticsearch.cluster.name\":\"docker-cluster\"}\n{\"@timestamp\":\"2022-04-14T12:39:58.531Z\", \"log.level\": \"INFO\", \"message\":\"closed\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"Elasticsearch.server\",\"process.thread.name\":\"Thread-2\",\"log.logger\":\"org.Elasticsearch.node.Node\",\"Elasticsearch.node.name\":\"50af9edc5c7d\",\"Elasticsearch.cluster.name\":\"docker-cluster\"}\n{\"@timestamp\":\"2022-04-14T12:39:58.535Z\", \"log.level\": \"INFO\", \"message\":\"Native controller process has stopped - no new native processes can be started\", \"ecs.version\": \"1.2.0\",\"service.name\":\"ES_ECS\",\"event.dataset\":\"Elasticsearch.server\",\"process.thread.name\":\"ml-cpp-log-tail-thread\",\"log.logger\":\"org.Elasticsearch.xpack.ml.process.NativeController\",\"Elasticsearch.node.name\":\"50af9edc5c7d\",\"Elasticsearch.cluster.name\":\"docker-cluster\"}","product":["kibana"],"versions":["8.1.2"],"lang":"en","answer_count":2,"view_count":5024,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-61056132","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/61056132/not-able-to-connect-elasticsearch-docker-container-running-on-different-port","posted_at":"2020-04-06T08:54:37.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"penta","score":3,"kind":"question","title":"Not able to connect Elasticsearch docker container running on different port","body":"I have a elasticsearch 7.6.1 docker container which i want to run on port 9400,9500 port.\n\nThis is the docker run command I have used.\n\ndocker run -d --name elasticsearch761v2  -v /data/dump/:/usr/share/elasticsearch/data \n\n-p 9400:9400 -p 9500:9500 -e \"discovery.type=single-node\" elasticsearch:7.6.1\n\n\nWhich gives the below output.\n\ndocker ps -a | grep elastic\nidofcontainer        elasticsearch:7.6.1                        \"/usr/local/bin/docke\"   18 minutes ago      Up 4 minutes                     \n\n9200/tcp, 0.0.0.0:9400->9400/tcp, 9300/tcp, 0.0.0.0:9500->9500/tcp   elasticsearch761v2\n\n\nI have also set the elasticsearch.yml setting to below.\n\n[root@idofcontainer config]# vi elasticsearch.yml\ncluster.name: \"docker-cluster\"\nnetwork.host: 0.0.0.0\ntransport.tcp.port: 9400\n\n\nI have added Iptable entry for the above ports too.\n\nThe log for this container is :-\n\n{\"type\": \"server\", \"timestamp\": \"2020-04-06T08:25:22,684Z\", \"level\": \"INFO\", \"component\": \"o.e.c.r.a.AllocationService\", \"cluster.name\": \"docker-cluster\", \"node.name\": \"4196b5b23\",\n\"message\": \"Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.kibana_task_manager_1][0], [.kibana_1][0]]]).\", \"cluster.uuid\": \"gx7s8R_PTUK4lFPPGBZA\", \"node.id\": \"XfLZnNNnQnAOHJnWdDQg\"  }\n\n\nThe Curl output is this :- \n\ncurl http://eserver:9400/_cat\nThis is not an HTTP port\n\n\nBecause of this, my kibana is also not able to reach the ES server.\nI have set the kibana.yml to point to the above port.\n\nKibana.yml\n\n# Default Kibana configuration for docker target\nserver.name: kibana\nserver.host: \"0\"\nelasticsearch.hosts: [\"http://eserver:9400/\"]\nxpack.monitoring.ui.container.elasticsearch.enabled: true\n\n\nThe log of this kibana container.\n\n{\"type\":\"log\",\"@timestamp\":\"2020-04-06T08:49:14Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":7,\"message\":\"Unable to revive connection: http://eserver:9400/\"}\n\n{\"type\":\"log\",\"@timestamp\":\"2020-04-06T08:49:14Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":7,\"message\":\"No living connections\"}","product":["kibana"],"versions":["7.6.1"],"lang":"en","answer_count":1,"view_count":4351,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load","10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-56377142","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56377142/adding-plugin-to-kibana-image-in-docker-compose-yml","posted_at":"2019-05-30T11:10:41.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"imapotatoe123","score":3,"kind":"question","title":"Adding Plugin to Kibana Image in docker-compose.yml","body":"I am new to using docker and trying to add the elastalert plugin to my kibana image. I am using Kibana 7.0.1 and Elasticsearch 7.0.1 and trying to use the elastalert 7.0.1 kibana plugin from github. When I run docker-compose up using the below docker-compose.yml file it does seem to install the plugin, but it doesn't actually start up kibana. Am I missing another command? Thanks\n\nservices:\n    ...\n    kibana:\n        image: docker.elastic.co/kibana/kibana:7.0.1\n        ...\n        command: ./bin/kibana-plugin install https://github.com/bitsensor/elastalert-kibana-plugin/releases/download/1.0.4/elastalert-kibana-plugin-1.0.4-7.0.1.zip","product":["kibana"],"versions":["7.0.1"],"lang":"en","answer_count":1,"view_count":3440,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":["07-alerting-and-watcher","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-51948135","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51948135/does-updating-elasticsearch-indices-requires-updating-kibana-index-pattern","posted_at":"2018-08-21T11:56:43.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"CodeMonkey","score":3,"kind":"question","title":"Does updating Elasticsearch indices requires updating Kibana index pattern?","body":"I am using Elasticsearch and Kibana as plugin to view the data in the indices. I am using Kibana's DevTools to send commands for adding/deleting/updating indices etc.\n\nI want to add a field to a certain text property so it will have a keyword field to be able to both make a full text searches and aggregate using this property. \n\n1) Does a change like that means I need to update Kibana's index pattern as well?\n\n2) I have read the ElasticSearch's docs on PUT Mappings and know how to use it to update the indices themselves, but I don't know how to update the index patterns.. I read the same API should be used to update it, but I don't know how to see the index pattern's original mapping in order to update it.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":7538,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["04-performance-and-load","12-maps-and-geo","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-51752764","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51752764/extract-date-from-epoch-in-nifi","posted_at":"2018-08-08T17:48:42.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Shrads","score":3,"kind":"question","title":"Extract Date from epoch in NiFi","body":"I have a CSV file with an attribute having epoch values like '1517334599.906'.\n\nI want to convert/update the Epoch values into ISO timestamp 'yyyy-MM-dd HH:mm:ss.SSS' via NiFi.\n\nThat conversion is for Kibana to recognize the field as Timestamp. Is there a way to do this? If there is can anyone help me with the configuration?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6840,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-45560468","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/45560468/how-to-remotely-access-kibana-in-elastic","posted_at":"2017-08-08T06:08:10.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Yohan Chung","score":3,"kind":"question","title":"How to remotely access Kibana in Elastic","body":"I am currently trying to make my Kibana dashboard remotely accessible via the browser. So, a user can monitor index and run scripts in a remote manner. As background, my elastic is currently ran on Windows server and I could successfully set 'elastic uri search' (e.g. http://[IP_ADDRESS]:9200) remotely accessible by updating elasticsearch.yml and opening the port 9200. For this reason, I took similar actions to remotely access Kibana, updating kibana.yml and opening the port 5601, but I couldn't remotely access kibana on the browser from my local machine. It throws ERR_CONNECTION_TIMED_OUT on the browser. See attributes that I have updated for kibana.yml:\nserver.port: \"5601\"\nserver.host: \"0.0.0.0\"\nelasticsearch.url: \"http://localhost:9200\"","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":15086,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-42518686","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/42518686/parse-url-parameters-in-logstash","posted_at":"2017-02-28T21:03:46.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Filipe Ferminiano","score":3,"kind":"question","title":"Parse url parameters in logstash","body":"I'm sending data in a url to logstash 5.2 and I would like to parse it in logstash, so every url parameter becomes a variable in logstash and I can visualize it properly in kibana. \n\nhttp://127.0.0.1:31311/?id=ID-XXXXXXXX&uid=1-37zbcuvs-izotbvbe&ev=pageload&ed=&v=1&dl=http://127.0.0.1/openpixel/&rl=&ts=1488314512294&de=windows-1252&sr=1600x900&vp=1600x303&cd=24&dt=&bn=Chrome%2056&md=false&ua=Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_11_3)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/56.0.2924.87%20Safari/537.36&utm_source=&utm_medium=&utm_term=&utm_content=&utm_campaign=\n\n\nThis is my logstash conf file:\n\ninput \n{\n  http \n  {\n    host => \"127.0.0.1\"\n    port => 31311\n  }\n}\n\noutput\n{\n    elasticsearch\n    {\n        hosts => [\"localhost:9200\"]\n    }\n\n    stdout\n    {\n        codec => rubydebug\n    }\n}","product":["kibana"],"versions":["5.2","5.0"],"lang":"en","answer_count":1,"view_count":7863,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["01-dashboard-authoring","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-37140333","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/37140333/kibana-how-to-dissociate-a-visualization-from-timepicker","posted_at":"2016-05-10T13:41:21.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"AbtPst","score":3,"kind":"question","title":"Kibana : How to dissociate a visualization from timepicker","body":"I have a Kibana dashboard with some visualizations and each visualization changes when i change the time window. Is there a way to display a visualization that does not change and stays fixed? For example, i want to display the total number of records present in my index. Now i have this in a nice dashboard. I only want this number to change if the actual number of records changes. Otherwise, I want it fixed. Is that possible?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1104,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","08-spaces-and-rbac"],"sentiment":"neutral","tags":[]}
{"id":"so-75499994","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/75499994/elastic-search-terms-query-not-giving-result-but-match-query-is-giving","posted_at":"2023-02-19T12:00:24.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Code Noob","score":3,"kind":"question","title":"Elastic Search Terms query not giving result but match query is giving","body":"I am using a Kibana query\nGET /MY_INDEX_HERE/_search\n{\n  \"query\": {\n    \"match\": {\n      \"AccountId\": \n        \"bc73afda-d4f2\"\n      \n    }\n  }\n}\n\nand it is giving me the results, I expect. But when I use a terms query, it is not showing any result, although the values are same. There is no difference in any character or any case, everything is lower-case only.\nMy final goal is to get the result in my C# code. My query is\n.Query(q => q.Raw(strQuery) && q.Terms(c => c.Name(\"by_account\").Field(p => p.AccountsList).Terms(accountTerms))\n\nWith this query I am getting zero results, but if I comment the second query I am getting results:\n.Query(q => q.Raw(strQuery) //&& q.Terms(c => c.Name(\"by_account\").Field(p => p.AccountsList).Terms(accountTerms))\n\nRight now my\nstrQuery ={\\\"bool\\\":{\\\"must\\\":[{\\\"match_phrase_prefix\\\":{\\\"fullname\\\":\\\"test\\\"}}]}} \n\nand\n  List<string> accountTerms = new List<string>();\n                accountTerms.Add(\"bc73afda-d4f2\");\n\nThe AccountId is a GUID type, I cant paste the full value here, hence it's not a complete value.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":729,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-69232175","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/69232175/in-kibana-dev-tools-how-to-delete-all-the-documents-in-an-index-without-deletin","posted_at":"2021-09-18T06:28:41.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Sameera De Silva","score":3,"kind":"question","title":"In Kibana Dev Tools, how to delete all the documents in an index without deleting the index?","body":"I want to delete all the documents in the index without deleting the index.\nHow to achieve this ?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4516,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-68399721","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/68399721/how-to-get-more-than-10k-logs-results-in-elasticsearch","posted_at":"2021-07-15T19:23:00.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"MarkCo","score":3,"kind":"question","title":"How to get more than 10K logs/results in Elasticsearch","body":"How could I go about getting all the logs if lets say I have more than 10K logs/results with the latest version of Elasticsearch (7.13)? I was reading up on scroll search results but at the beginning it shows:\n\nWe no longer recommend using the scroll API for deep pagination. If\nyou need to preserve the index state while paging through more than\n10,000 hits, use the search_after parameter with a point in time\n(PIT).\n\nBut with search_after it says you can access more than 10,000 hits but you would need to use a point in time api in order to get the PIT (point in time) ID then pass that ID to the search_after parameter. In kibana CLI if you type in the cmd POST /YOUR PATTERN INDEX NAME*/_pit?keep_alive=1m it will return that PIT ID. But how would you go about doing that command in NEST for .net client?\nThis only tells you what to do if you already have the PIT ID but does not show you how to do the post command to get the PIT ID? Is there a way to do so without having to go to Kibana -> Discover -> CLI and running the command POST /customer-simulation-es-app-logs*/_pit?keep_alive=1m (customer-sim is the name of my index)\n\nBefore implementing Rob's sample I had the following:\n[HttpGet(\"GetMonthlyLogs\")]\n        public async Task<List<EsSource>> GetLogsByDate()\n        {\n    \n            string indexName = \"customer-simulation-es-app-logs*\";\n            var connectionSettings = new ConnectionSettings(new Uri(\"http://localhost:9200\"));\n            connectionSettings.DefaultIndex(indexName);\n            connectionSettings.EnableDebugMode();\n            _elasticClient = new ElasticClient(connectionSettings);\n\n            // this will return the number of results in the index based on the criteria below:\n            var responseHits = _elasticClient.Count<EsSource>(c => c\n                 .Query(q => q\n                     .Bool(b => b\n                         .Should(\n                               m => m\n                               .Match(ma => ma\n                                   .Field(fa => fa.level)\n                                   .Query(\"Error\")),\n                               m => m\n                               .Match(ma => ma\n                                   .Field(fa => fa.level)\n                                   .Query(\"Information\")))\n                         .Filter(f => f.DateRange(dr => dr\n                         .Field(\"@timestamp\")\n                             .GreaterThanOrEquals(\"2021-07-16T12:46:00.227-05:00\")\n                             .LessThanOrEquals(\"2021-07-16T12:55:00.227-05:00\")))\n                         .MinimumShouldMatch(1)))).Count;\n\n            var response = await _elasticClient.SearchAsync<EsSource>(s => s\n                  .Size(3000) // must see about this\n                  .Source(src => src.Includes(i => i\n                                    .Fields(f => f.timestamp,\n                                            f => f.level,\n                                            f => f.messageTemplate,\n                                            f => f.message)))\n                  .Index(\"customer-simulation-es-app-logs*\")\n                  .Query(q => q\n                      .Bool(b => b\n                          .Should(\n                                m => m\n                                .Match(ma => ma\n                                    .Field(fa => fa.level)\n                                    .Query(\"Error\")),\n                                m => m\n                                .Match(ma => ma\n                                    .Field(fa => fa.level)\n                                    .Query(\"Information\")))\n                          .Filter(f => f.DateRange(dr => dr\n                          .Field(\"@timestamp\")\n                             .GreaterThanOrEquals(\"2021-07-16T12:46:00.227-05:00\")\n                             .LessThanOrEquals(\"2021-07-16T12:55:00.227-05:00\")))\n                          .MinimumShouldMatch(1))));\n\n\n            return response?.Documents.ToList();\n        }\n\npublic class EsSource\n{\n       [Date(Name = \"@timestamp\")]\n        public DateTimeOffset timestamp { get; set; }\n        public String level { get; set; }\n        public String messageTemplate { get; set; }\n        public String message { get; set; }\n\n}\n\n\nI attempted to give Rob's sample implementation a stab, what I did was the following. However, my question is if I do not have the \"ID\" that is inside of EsDocuments can I use timestamp instead? The foreach is needed because that will group the results into 1000 correct? Can I also sort by timestamp or does it strictly have to be the result ID? Since I do not have an ID I was thinking to make another var searchResponse that uses the searchapi, but then create a general variable named EsID so I can for loop through searchResponse within hits so like foreach(var item in searchResponse.Hits(){ EsID = item.Id } then use it for the foreach that has batch (batches.Select(x => EsID)) and use it for the sort. But I felt like that would be repetitive code... correct me if I am wrong?\nPlease see my implementation here:\nprivate IElasticClient _elasticClient;\n\n[HttpGet(\"GetMonthlyLogs\")]\n       public async Task<List<EsSource>> GetLogsByDate()\n       {\n           \n            string indexName = \"customer-simulation-es-app-logs*\";\n            var connectionSettings = new ConnectionSettings(new Uri(\"http://localhost:9200\"));\n            connectionSettings.DefaultIndex(indexName);\n            connectionSettings.EnableDebugMode();\n            _elasticClient = new ElasticClient(connectionSettings);\n\n             // this will return the number of results in the index based on the criteria's \n            var responseHits = _elasticClient.Count<EsSource>(c => c\n                 .Query(q => q\n                     .Bool(b => b\n                         .Should(\n                               m => m\n                               .Match(ma => ma\n                                   .Field(fa => fa.level)\n                                   .Query(\"Error\")),\n                               m => m\n                               .Match(ma => ma\n                                   .Field(fa => fa.level)\n                                   .Query(\"Information\")))\n                         .Filter(f => f.DateRange(dr => dr\n                         .Field(\"@timestamp\")\n                             .GreaterThanOrEquals(\"2021-07-16T12:46:00.227-05:00\")\n                             .LessThanOrEquals(\"2021-07-16T12:55:00.227-05:00\")))\n                         .MinimumShouldMatch(1)))).Count;\n\n           \n\n            foreach (var batches in Enumerable.Range(0, (int)responseHits).Batch(1000))\n            {\n                var bulk = await _elasticClient.IndexManyAsync(batches.Select(x => new EsSource { /* can I use timestamp?? */}));\n            }\n\n            await _elasticClient.Indices.RefreshAsync();\n\n            var openPit = await _elasticClient.OpenPointInTimeAsync(indexName, d => d.KeepAlive(\"1m\"));\n            var pit = openPit.Id;\n\n            var searchAfter = 0;\n\n            try\n            {\n                while (true)\n                {\n                    var response = await _elasticClient.SearchAsync<EsSource>(s => s\n                          .TrackTotalHits(false) // disable the tracking of total hits to speed up pagination\n                          .Size(1000)\n                          // pass pit id & extend lifetime of it by another minute\n                          .PointInTime(pit, d => d.KeepAlive(\"1m\"))\n                          .Source(src => src.Includes(i => i\n                                              .Fields(f => f.timestamp,\n                                                      f => f.level,\n                                                      f => f.messageTemplate,\n                                                      f => f.message)))\n                          .Query(q => q\n                              .Bool(b => b\n                                  .Should(\n                                          m => m\n                                          .Match(ma => ma\n                                              .Field(fa => fa.level)\n                                              .Query(\"Error\")),\n                                          m => m\n                                          .Match(ma => ma\n                                              .Field(fa => fa.level)\n                                              .Query(\"Information\")))\n                                  .Filter(f => f.DateRange(dr => dr\n                                  .Field(\"@timestamp\")\n                                      .GreaterThanOrEquals(\"2021-07-14T00:00:00.000-05:00\")\n                                      .LessThanOrEquals(\"2021-07-14T23:59:59.999-05:00\")))\n                                  .MinimumShouldMatch(1)))\n                          // can I assort with timestamp or does it have to be the result ID?\n                          .Sort(srt => srt.Ascending(f => f.timestamp))\n                          .SearchAfter(searchAfter));\n\n                    if (response.Documents.Count == 0)\n                    {\n                        break;\n                    }\n\n\n                    //searchAfter = response.Documents.LastOrDefault()?.timestamp ?? x;\n                }\n            }\n            finally\n            {\n                // closing the pit\n                var closePit = await _elasticClient.ClosePointInTimeAsync(d => d.Id(pit));\n            }\n\n            return // response?.Documents.ToList();\n        }\n\n\n    public class EsSource\n    {\n        [Date(Name = \"@timestamp\")]\n        public DateTimeOffset timestamp { get; set; }\n        public String level { get; set; }\n        public String messageTemplate { get; set; }\n        public String message { get; set; }        \n    }","product":["kibana"],"versions":["7.13"],"lang":"en","answer_count":2,"view_count":3310,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["08-spaces-and-rbac"],"sentiment":"positive","tags":["discover"]}
{"id":"so-66304811","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/66304811/forming-elastic-search-query-with-extra-quotation-marks","posted_at":"2021-02-21T17:02:36.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"shasha","score":3,"kind":"question","title":"Forming Elastic search query with extra quotation marks","body":"I am trying to mimic Kibana's search query via Elasticsearch's query string. For e.g. in Kibana I can search like this with the quotation marks:\n\"ABC\" AND \"CDE\"\n\nWhen I try to create this query string it throws a syntax error:\n{\n\"query\": {\n\"query_string\": {\n\"fields\": [\"messages\"]\n\"query\": \"\"ABC\" AND \"CDE\"\" (syntax error occurs here)\n}\n}\n}\n\nI know I can just query it without the extra quotation marks but I need to append user's input to the query string which will contain those extra quotation marks. How can I form this query so that it can accept the quotation marks?","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":15132,"accepted":true,"category":"02-discover-and-kql","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-64444892","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/64444892/how-to-display-different-time-period-in-one-dashboard-kibana","posted_at":"2020-10-20T12:11:49.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Navid_pdp11","score":3,"kind":"question","title":"How to display different time period in one dashboard kibana?","body":"I want to create a dashboard in Kibana which must contain one bar chart which shows the weekly trend of X log and one metric (single number) that shows only the occurrence of the X log during current day. when I add these visualization to a dashboard they sync themselves with the dashboard Time range. if I set time range to today bar chart only shows today chart and if I set the time range to this month metrics show total occurrence of whole month.\nHow can I show two different visualizations with different time ranges in same dashboard?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":6127,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-63838698","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63838698/problem-with-elasticsearch-index-lifecycle-policy-that-doesnt-rollover","posted_at":"2020-09-10T23:00:12.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"olg32","score":3,"kind":"question","title":"Problem with Elasticsearch Index Lifecycle Policy that doesn&#39;t rollover","body":"In order to evaluate its potential to help on our daily operations, I have deployed Elastic Search and Kibana (7.7.1 with BASIC license) and created an index template for Ntopng (our monitoring platform).\nSince indexes keep growing, I want to delete Ntopng indexes older than 20 days or so, therefore I have created a life cycle policy called ntopng where the time-stamped index should rollover after 1 day (for testing purposes) and then will be deleted after 2 days of the rollover:\n\nNext I picked a time-stamped index created that day and applied the lifecycle policy to it:\n\nBefore that, I had to create an alias for that Index, so I did it manually:\nPOST /_aliases\n{\n  \"actions\" : [\n    { \"add\" : { \"index\" : \"ntopng-2020.09.09\", \"alias\" : \"ntopng_Alias\" } }\n  ]\n}\n\nAll looked good after that ( I guess) as no errors or alarms were displayed:\n\"indices\" : {\n    \"ntopng-2020.09.09\" : {\n      \"index\" : \"ntopng-2020.09.09\",\n      \"managed\" : true,\n      \"policy\" : \"ntopng\",\n      \"lifecycle_date_millis\" : 1599609600433,\n      \"age\" : \"20.14h\",\n      \"phase\" : \"hot\",\n      \"phase_time_millis\" : 1599681721821,\n      \"action\" : \"rollover\",\n      \"action_time_millis\" : 1599680521920,\n      \"step\" : \"check-rollover-ready\",\n      \"step_time_millis\" : 1599681721821,\n      \"is_auto_retryable_error\" : true,\n      \"failed_step_retry_count\" : 1,\n      \"phase_execution\" : {\n        \"policy\" : \"ntopng\",\n        \"phase_definition\" : {\n          \"min_age\" : \"0ms\",\n          \"actions\" : {\n            \"rollover\" : {\n              \"max_age\" : \"1d\"\n            },\n            \"set_priority\" : {\n              \"priority\" : 100\n            }\n          }\n        },\n        \"version\" : 4,\n        \"modified_date_in_millis\" : 1599509572867\n      }\n    }\n\nMy expectation was that in the next day the policy would be automatically rolled over to the next index (ntopng-2020.10.10) so that the initial index would be eventually deleted the next two days.\nInstead, I got the following errors:\nGET ntopng-*/_ilm/explain\n{\n  \"indices\" : {\n    \"ntopng-2020.09.09\" : {\n      \"index\" : \"ntopng-2020.09.09\",\n      \"managed\" : true,\n      \"policy\" : \"ntopng\",\n      \"lifecycle_date_millis\" : 1599609600433,\n      \"age\" : \"1.94d\",\n      \"phase\" : \"hot\",\n      \"phase_time_millis\" : 1599776521822,\n      \"action\" : \"rollover\",\n      \"action_time_millis\" : 1599680521920,\n      \"step\" : \"ERROR\",\n      \"step_time_millis\" : 1599777121822,\n      \"failed_step\" : \"check-rollover-ready\",\n      \"is_auto_retryable_error\" : true,\n      \"failed_step_retry_count\" : 80,\n      \"step_info\" : {\n        \"type\" : \"illegal_argument_exception\",\n        \"reason\" : \"\"\"index name [ntopng-2020.09.09] does not match pattern '^.*-\\d+$'\"\"\",\n        \"stack_trace\" : \"\"\"java.lang.IllegalArgumentException: index name [ntopng-2020.09.09] does not match pattern '^.*-\\d+$'\n    at org.elasticsearch.action.admin.indices.rollover.TransportRolloverAction.generateRolloverIndexName(TransportRolloverAction.java:241)\n    at org.elasticsearch.action.admin.indices.rollover.TransportRolloverAction.masterOperation(TransportRolloverAction.java:133)\n    at org.elasticsearch.action.admin.indices.rollover.TransportRolloverAction.masterOperation(TransportRolloverAction.java:73)\n    at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.lambda$doStart$3(TransportMasterNodeAction.java:170)\n    at org.elasticsearch.action.ActionRunnable$2.doRun(ActionRunnable.java:73)\n    at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)\n    at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:225)\n    at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.doStart(TransportMasterNodeAction.java:170)\n    at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction.start(TransportMasterNodeAction.java:133)\n    at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:110)\n    at org.elasticsearch.action.support.master.TransportMasterNodeAction.doExecute(TransportMasterNodeAction.java:59)\n    at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:153)\n    at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.apply(SecurityActionFilter.java:123)\n    at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:151)\n    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:129)\n    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:64)\n    at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83)\n    at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72)\n    at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:399)\n    at org.elasticsearch.xpack.core.ClientHelper.executeAsyncWithOrigin(ClientHelper.java:92)\n    at org.elasticsearch.xpack.core.ClientHelper.executeWithHeadersAsync(ClientHelper.java:155)\n    at org.elasticsearch.xpack.ilm.LifecyclePolicySecurityClient.doExecute(LifecyclePolicySecurityClient.java:51)\n    at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:399)\n    at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1234)\n    at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.rolloverIndex(AbstractClient.java:1736)\n    at org.elasticsearch.xpack.core.ilm.WaitForRolloverReadyStep.evaluateCondition(WaitForRolloverReadyStep.java:127)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleRunner.runPeriodicStep(IndexLifecycleRunner.java:173)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleService.triggerPolicies(IndexLifecycleService.java:329)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleService.triggered(IndexLifecycleService.java:267)\n    at org.elasticsearch.xpack.core.scheduler.SchedulerEngine.notifyListeners(SchedulerEngine.java:183)\n    at org.elasticsearch.xpack.core.scheduler.SchedulerEngine$ActiveSchedule.run(SchedulerEngine.java:211)\n    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\n    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)\n    at java.base/java.lang.Thread.run(Thread.java:832)\n\"\"\"\n      },\n      \"phase_execution\" : {\n        \"policy\" : \"ntopng\",\n        \"phase_definition\" : {\n          \"min_age\" : \"0ms\",\n          \"actions\" : {\n            \"rollover\" : {\n              \"max_age\" : \"1d\"\n            },\n            \"set_priority\" : {\n              \"priority\" : 100\n            }\n          }\n        },\n        \"version\" : 4,\n        \"modified_date_in_millis\" : 1599509572867\n      }\n    }\n\n\n  \"ntopng-2020.09.10\" : {\n      \"index\" : \"ntopng-2020.09.10\",\n      \"managed\" : true,\n      \"policy\" : \"ntopng\",\n      \"lifecycle_date_millis\" : 1599696000991,\n      \"age\" : \"22.57h\",\n      \"phase\" : \"hot\",\n      \"phase_time_millis\" : 1599776521844,\n      \"action\" : \"rollover\",\n      \"action_time_millis\" : 1599696122033,\n      \"step\" : \"ERROR\",\n      \"step_time_millis\" : 1599777121839,\n      \"failed_step\" : \"check-rollover-ready\",\n      \"is_auto_retryable_error\" : true,\n      \"failed_step_retry_count\" : 67,\n      \"step_info\" : {\n        \"type\" : \"illegal_argument_exception\",\n        \"reason\" : \"index.lifecycle.rollover_alias [ntopng_Alias] does not point to index [ntopng-2020.09.10]\",\n        \"stack_trace\" : \"\"\"java.lang.IllegalArgumentException: index.lifecycle.rollover_alias [ntopng_Alias] does not point to index [ntopng-2020.09.10]\n    at org.elasticsearch.xpack.core.ilm.WaitForRolloverReadyStep.evaluateCondition(WaitForRolloverReadyStep.java:104)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleRunner.runPeriodicStep(IndexLifecycleRunner.java:173)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleService.triggerPolicies(IndexLifecycleService.java:329)\n    at org.elasticsearch.xpack.ilm.IndexLifecycleService.triggered(IndexLifecycleService.java:267)\n    at org.elasticsearch.xpack.core.scheduler.SchedulerEngine.notifyListeners(SchedulerEngine.java:183)\n    at org.elasticsearch.xpack.core.scheduler.SchedulerEngine$ActiveSchedule.run(SchedulerEngine.java:211)\n    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\n    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)\n    at java.base/java.lang.Thread.run(Thread.java:832)\n\"\"\"\n      },\n      \"phase_execution\" : {\n        \"policy\" : \"ntopng\",\n        \"phase_definition\" : {\n          \"min_age\" : \"0ms\",\n          \"actions\" : {\n            \"rollover\" : {\n              \"max_age\" : \"1d\"\n            },\n            \"set_priority\" : {\n              \"priority\" : 100\n            }\n          }\n        }\n\nThe first index error reads \"index name [ntopng-2020.09.09] does not match pattern '^.*-\\d+$\"\nwhile second one displays: \"\"index.lifecycle.rollover_alias [ntopng_Alias] does not point to index [ntopng-2020.09.10]\"\nPlease note that I'm learning the basics on ES Index management, so I'd appreciate any clue on what the problem might be.","product":["kibana"],"versions":["7.7.1","10.10"],"lang":"en","answer_count":2,"view_count":14962,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"negative","tags":["license"]}
{"id":"so-59412352","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59412352/keycloak-gatekeeper-http-502-timeout-after-10-seconds","posted_at":"2019-12-19T15:06:50.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Bate Stancho","score":3,"kind":"question","title":"Keycloak gatekeeper HTTP 502 / timeout after 10 seconds","body":"I am using keycloak gatekeeper as a proxy connected to a keycloak instance to secure kibana. All tools run in a private kubernetes cluster. The keycloak gatekeeper was installed with the following helm chart https://github.com/mvitale1989/helm-keycloak-gatekeeper.\n\nI noticed that by long running kibana queries (> 10 seconds) I get after exactly 10 seconds HTTP 502 bad gateway. I connected directly to kibana with \"kubectl port-forward ....\" and tested some long running queries and get timeouts after 30 seconds. That's why I think that the keycloak gatekeeper is responsible for the HTTP 502 code. I couldn't find anything in the logs from the keycloak gatekeeper instance.\n\nQuestion: Is there a default timeout in keycloak gatekeeper for requests to upstream that last longer than 10 seconds? If yes, how can I change it to for example 30 seconds?\n\nThank you very much in advance!","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3482,"accepted":false,"category":"04-performance-and-load","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-52186729","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/52186729/elasticsearch-how-to-add-language-analyser-on-a-field","posted_at":"2018-09-05T13:46:58.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"rap-2-h","score":3,"kind":"question","title":"Elasticsearch: how to add language analyser on a field?","body":"I have an index with french words. I want to apply an analyser on index properties. Let's say I have a title property and I want to consider it as a \"french property\". I tried this (in kibana):\n\nPUT thing/_mappings/thing\n{\n  \"properties\": {\n    \"title\": {\n      \"type\": \"text\",\n      \"analyzer\": \"french\",\n      \"fields\": {\n        \"keyword\": {\n          \"type\": \"keyword\",\n          \"ignore_above\": 256\n        }\n      }\n    }\n  }\n}\n\n\nBut it results in:\n\n{\n  \"error\": {\n    \"root_cause\": [\n      {\n        \"type\": \"illegal_argument_exception\",\n        \"reason\": \"Mapper for [title] conflicts with existing mapping in other types:\\n[mapper [title] has different [analyzer]]\"\n      }\n    ],\n    \"type\": \"illegal_argument_exception\",\n    \"reason\": \"Mapper for [title] conflicts with existing mapping in other types:\\n[mapper [title] has different [analyzer]]\"\n  },\n  \"status\": 400\n}\n\n\nI don't understand why I have this error. If I display mapping (GET thing/_mappings), it contains no existing analyzer (unless I misunderstood something):\n\n // ...\n    \"title\": {\n      \"type\": \"text\",\n      \"fields\": {\n        \"keyword\": {\n          \"type\": \"keyword\",\n          \"ignore_above\": 256\n        }\n      }\n    }\n  }\n\n\nHow can I consider my title property as a french property? (source: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html)","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1326,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["10-docs-and-ux","12-maps-and-geo","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-43483322","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/43483322/how-to-setup-an-own-kibana-client-over-aws-es-service","posted_at":"2017-04-18T22:35:03.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"po5i","score":3,"kind":"question","title":"How to setup an own Kibana client over aws ES service","body":"I deployed an ES service 5.1 over AWS. The access policy is restricted to a unique IP. This public IP belongs to a EC2 instance (red hat).\n\nAt the EC2 instance, I installed kibana 5.1.2 using yum and I configured the kibana.yml as follows:\n\nserver.host: \"ec2-x-x-x-x.us-west-2.compute.amazonaws.com\"\nserver.name: \"my-kibana\"\nelasticsearch.url: \"http://my-es-domain-xxxxxxxxxxxx.us-west-2.es.amazonaws.com\"\n\n\nThe rest config remains untouched.\n\nWith the EC2 instance I can do cURL requests over my ES with no problem (I had created an index, add some documents and search). But Kibana is giving me this error:\n\nui settings  Elasticsearch plugin is red\nplugin:[email protected]  Ready\nplugin:[email protected]   Request Timeout after 3000ms\nplugin:[email protected]     Ready\nplugin:[email protected]    Ready\n\n\nSo I can't use my Kibana client. Can you tell what's missing?\n\nThanks.","product":["kibana"],"versions":["5.1","5.1.2"],"lang":"en","answer_count":2,"view_count":2594,"accepted":true,"category":"04-performance-and-load","secondary_categories":["10-docs-and-ux","15-plugin-and-ecosystem","11-ml-and-anomaly"],"sentiment":"positive","tags":[]}
{"id":"so-38839850","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38839850/how-to-make-a-field-in-kibana-numeric-from-string","posted_at":"2016-08-08T23:19:18.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Min.E.On","score":3,"kind":"question","title":"How to make a field in Kibana numeric (from String)","body":"I've inherited an ELK stack for logs and I'm still learning the ropes - I've been tasked with making two fields numeric on a certain type on our logstash indexes. Can't seem to figure out how to do this. Things I tried:\n\n\nIn the Kibana settings page, went to my logstash index and found the field. Went to edit on the controls tab, saw type listed as String (and it was immutable). Dropdown for format shows URL and String.\nWent to one of my Elasticsearch hosts and found the grok rule for the document type, and found that they were indeed written to parse the field as a number. Example: %{NUMBER:response_code}\nRan out of ideas, since I don't know my way around the ELK stack.\n\n\nAny help greatly appreciated, especially links to relevant documentation so I can understand what's going on. I'd be googling harder if I knew what to google.","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":15249,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-36860836","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36860836/kibana-link-multiple-dashboards","posted_at":"2016-04-26T09:31:08.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"mido","score":3,"kind":"question","title":"Kibana Link multiple dashboards","body":"I am working with the elastic stack (logstash, kibana) and I would like to know if it is possible to have a \"link\" between two different dashboards.\n\nExplanation : \nI have a dashboard \"Movies\" and in it I have all the movies in my library. I would like click on \"let's say pie chart\" , I am expecting a way to be redirected to the dashboard of this clicked movie. Is it possible ?\n\nThank you","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":7424,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["03-visualization-quality"],"sentiment":"positive","tags":[]}
{"id":"so-33549171","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33549171/correlate-messages-in-elk-by-field","posted_at":"2015-11-05T15:56:29.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"AMS","score":3,"kind":"question","title":"Correlate messages in ELK by field","body":"Related to: Combine logs and query in ELK\n\nWe are setting up ELK and would want to create a visualization in Kibana 4.\nThe issue here is that we want to relate between two different types of message.\n\nTo simplify:\n\n\nMessage type 1 fields: message_type, common_id_number, byte_count,\n...\nMessage type 2 fields: message_type, common_id_number, hostname, ...\n\n\nBoth messages share the same index in elasticsearch.\n\n\n\nAs you can see we were trying to graph without taking that common_id_number into account, but it seems that we must use it. We don't know how yet, though.\n\nAny help?\n\nEDIT\n\nThese are the relevant field definitions in the ES template:\n\n      \"URIHost\" : {\n        \"type\" : \"string\",\n        \"norms\" : {\n          \"enabled\" : false\n        },\n        \"fields\" : {\n          \"raw\" : {\n            \"type\" : \"string\",\n            \"index\" : \"not_analyzed\",\n            \"ignore_above\" : 256\n          }\n        }\n      },\n      \"Type\" : {\n        \"type\" : \"string\",\n        \"norms\" : {\n          \"enabled\" : false\n        },\n        \"fields\" : {\n          \"raw\" : {\n            \"type\" : \"string\",\n            \"index\" : \"not_analyzed\",\n            \"ignore_above\" : 256\n          }\n        }\n      },\n      \"SessionID\" : {\n        \"type\" : \"long\"\n      },\n      \"Bytes\" : {\n        \"type\" : \"long\"\n      },\n      \"BytesReceived\" : {\n        \"type\" : \"long\"\n      },\n      \"BytesSent\" : {\n        \"type\" : \"long\"\n      },\n\n\nThis is a TRAFFIC type, edited document:\n\n{\n  \"_index\": \"logstash-2015.11.05\",\n  \"_type\": \"paloalto\",\n  \"_id\": \"AVDZqdBjpQiRid-uxPjE\",\n  \"_score\": null,\n  \"_source\": {\n    \"@version\": \"1\",\n    \"@timestamp\": \"2015-11-05T21:59:55.543Z\",\n    \"syslog_severity_code\": 5,\n    \"syslog_facility_code\": 1,\n    \"syslog_timestamp\": \"Nov  5 22:59:58\",\n    \"Type\": \"TRAFFIC\",\n    \"SessionID\": 21713,\n    \"Bytes\": 939,\n    \"BytesSent\": 480,\n    \"BytesReceived\": 459,\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1446760795543\n    ]\n  },\n  \"sort\": [\n    1446760795543\n  ]\n}\n\n\nAnd this is a THREAT type document:\n\n{\n  \"_index\": \"logstash-2015.11.05\",\n  \"_type\": \"paloalto\",\n  \"_id\": \"AVDZqVNIpQiRid-uxPjC\",\n  \"_score\": null,\n  \"_source\": {\n    \"@version\": \"1\",\n    \"@timestamp\": \"2015-11-05T21:59:23.440Z\",\n    \"syslog_severity_code\": 5,\n    \"syslog_facility_code\": 1,\n    \"syslog_timestamp\": \"Nov  5 22:59:26\",\n    \"Type\": \"THREAT\",\n    \"SessionID\": 21713,\n    \"URIHost\": \"whatever.nevermind.com\",\n    \"URIPath\": \"/connectiontest.html\"\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1446760763440\n    ]\n  },\n  \"sort\": [\n    1446760763440\n  ]\n}\n\n\nThis is the logstash \"filter\" configuration:\n\nfilter {\n    if [type] == \"paloalto\" {\n        syslog_pri {\n            remove_field => [ \"syslog_facility\", \"syslog_severity\" ]\n        }\n\n        grok {\n            match => {\n                \"message\" => \"%{SYSLOGTIMESTAMP:syslog_timestamp} %{HOSTNAME:hostname} %{INT},%{YEAR}/%{MONTHNUM}/%{MONTHDAY} %{TIME},%{INT},%{WORD:Type},%{GREEDYDATA:log}\"\n            }\n            remove_field => [ \"message\" ]\n        }\n\n        if [Type] == \"THREAT\" {\n            csv {\n                source => \"log\"\n                columns => [ \"Threat_OR_ContentType\", \"ConfigVersion\", \"GenerateTime\", \"SourceAddress\", \"DestinationAddress\", \"NATSourceIP\", \"NATDestinationIP\", \"Rule\", \"SourceUser\", \"DestinationUser\", \"Application\", \"VirtualSystem\", \"SourceZone\", \"DestinationZone\", \"InboundInterface\", \"OutboundInterface\", \"LogAction\", \"TimeLogged\", \"SessionID\", \"RepeatCount\", \"SourcePort\", \"DestinationPort\", \"NATSourcePort\", \"NATDestinationPort\", \"Flags\", \"IPProtocol\", \"Action\", \"URL\", \"Threat_OR_ContentName\", \"reportid\", \"Category\", \"Severity\", \"Direction\", \"seqno\", \"actionflags\", \"SourceCountry\", \"DestinationCountry\", \"cpadding\", \"contenttype\", \"pcap_id\", \"filedigest\", \"cloud\", \"url_idx\", \"user_agent\", \"filetype\", \"xff\", \"referer\", \"sender\", \"subject\", \"recipient\" ]\n                remove_field => [ \"log\" ]\n            }\n            mutate {\n                convert => {\n                    \"SessionID\" => \"integer\"\n                    \"SourcePort\" => \"integer\"\n                    \"DestinationPort\" => \"integer\"\n                    \"NATSourcePort\" => \"integer\"\n                    \"NATDestinationPort\" => \"integer\"\n                }\n                remove_field => [ \"ConfigVersion\", \"GenerateTime\", \"VirtualSystem\", \"InboundInterface\", \"OutboundInterface\", \"LogAction\", \"TimeLogged\", \"RepeatCount\", \"Flags\", \"Action\", \"reportid\", \"Severity\", \"seqno\", \"actionflags\", \"cpadding\", \"pcap_id\", \"filedigest\", \"recipient\" ]\n            }\n            grok {\n                match => {\n                    \"URL\" => \"%{URIHOST:URIHost}%{URIPATH:URIPath}(%{URIPARAM:URIParam})?\"\n                }\n                remove_field => [ \"URL\" ]\n            }\n        }\n\n        else if [Type] == \"TRAFFIC\" {\n            csv {\n                source => \"log\"\n                columns => [ \"Threat_OR_ContentType\", \"ConfigVersion\", \"GenerateTime\", \"SourceAddress\", \"DestinationAddress\", \"NATSourceIP\", \"NATDestinationIP\", \"Rule\", \"SourceUser\", \"DestinationUser\", \"Application\", \"VirtualSystem\", \"SourceZone\", \"DestinationZone\", \"InboundInterface\", \"OutboundInterface\", \"LogAction\", \"TimeLogged\", \"SessionID\", \"RepeatCount\", \"SourcePort\", \"DestinationPort\", \"NATSourcePort\", \"NATDestinationPort\", \"Flags\", \"IPProtocol\", \"Action\", \"Bytes\", \"BytesSent\", \"BytesReceived\", \"Packets\", \"StartTime\", \"ElapsedTimeInSecs\", \"Category\", \"Padding\", \"seqno\", \"actionflags\", \"SourceCountry\", \"DestinationCountry\", \"cpadding\", \"pkts_sent\", \"pkts_received\", \"session_end_reason\" ]\n                remove_field => [ \"log\" ]\n            }\n            mutate {\n                convert => {\n                    \"SessionID\" => \"integer\"\n                    \"SourcePort\" => \"integer\"\n                    \"DestinationPort\" => \"integer\"\n                    \"NATSourcePort\" => \"integer\"\n                    \"NATDestinationPort\" => \"integer\"\n                    \"Bytes\" => \"integer\"\n                    \"BytesSent\" => \"integer\"\n                    \"BytesReceived\" => \"integer\"\n                    \"ElapsedTimeInSecs\" => \"integer\"\n                }\n                remove_field => [ \"ConfigVersion\", \"GenerateTime\", \"VirtualSystem\", \"InboundInterface\", \"OutboundInterface\", \"LogAction\", \"TimeLogged\", \"RepeatCount\", \"Flags\", \"Action\", \"Packets\", \"StartTime\", \"seqno\", \"actionflags\", \"cpadding\", \"pcap_id\", \"filedigest\", \"recipient\" ]\n            }\n        }\n\n        date {\n            match => [ \"syslog_timastamp\", \"MMM  d HH:mm:ss\", \"MMM dd HH:mm:ss\" ]\n            timezone => \"CET\"\n            remove_field => [ \"syslog_timestamp\" ]\n        }\n    }\n}\n\n\nWhat we are trying to do is to visualize URIHost terms as X axis and Bytes, BytesSent and BytesReceived sums as Y axis.","product":["kibana"],"versions":["11.05"],"lang":"en","answer_count":1,"view_count":7183,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["02-discover-and-kql","12-maps-and-geo","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-29970458","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/29970458/kibana-visualizations-splitting-fields-with-dashes-in-them","posted_at":"2015-04-30T14:29:19.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"user2220127","score":3,"kind":"question","title":"Kibana visualizations splitting fields with dashes in them","body":"I am building visualizations in Kibana for AWS CloudWatch metrics, and have run into a bit of an issue creating Metric Tables.. Kibana is splitting my fields that contain dashes (instance ID, region, etc..)\n\nRather than having an individual row with an instance ID, for example, i-7bb06dzz, it is creating 2 rows: i & 7bb06dzz. \"i\" displays the aggregate count of all other fields. If I add a second split with the region, this is duplicated for every set of characters in the region name separated by dashes as well. (us , east, and 1  instead of just us-east-1).\n\nI tried to post a screenshot, but my reputation is not high enough to do so..\nHere are my visualization settings:\n\nMetrics: Metric (Count)\n\nAggregations: \nSplit Rows: Terms: InstanceID: Top 5: Order by metric:Count\nSplit Rows: Terms: Region: Top 5: Order by metric:Count\n\n\nNo Advanced Settings have been specified. I was able to get a reasonable looking list by only specifying InstanceID, and excluding the pattern \"i\"... however, it doesn't do me a lot of good when I can't display the region next to it. Both values are indexed as strings and were recorded in ElasticSearch with double quotes around them.\n\nAny recommendations on how to display the fields as intended would be much appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3621,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["10-docs-and-ux"],"sentiment":"positive","tags":[]}
{"id":"so-28831793","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28831793/can-kibana-3-and-kibana-4-be-used-side-by-side","posted_at":"2015-03-03T12:25:17.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"blachniet","score":3,"kind":"question","title":"Can Kibana 3 and Kibana 4 Be Used Side-By-Side?","body":"I'm currently using Kibana 3, and would like to upgrade to Kibana 4. However, I would like to keep Kibana 3 around until I have my dashboards in Kibana 4 configured. Can the two be run side-by-side without interfering with one another? \n\nI know that Kibana stores its settings in the attached Elasticsearch database, so I am worried that Kibana 4 might overwrite settings in my Kibana 3 instance.","product":["kibana"],"versions":[],"lang":"en","answer_count":4,"view_count":956,"accepted":true,"category":"09-upgrades-and-migration","secondary_categories":["01-dashboard-authoring"],"sentiment":"neutral","tags":[]}
{"id":"so-27400114","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/27400114/elasticsearch-logstash-kibana-how-to-deal-with-spikes-in-log-traffic","posted_at":"2014-12-10T11:40:21.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"bScutt","score":3,"kind":"question","title":"ElasticSearch/Logstash/Kibana How to deal with spikes in log traffic","body":"What is the best way to deal with a surge in log messages being written to an ElasticSearch cluster in a standard ELK setup?\n\nWe use a standard ELK (ElasticSearch/Logstash/Kibana) set-up in AWS for our websites logging needs. \n\nWe have an autoscaling group of Logstash instances behind a load balancer, that log to an autoscaling group of ElasticSearch instances behind another load balancer. We then have a single instance serving Kibana.\n\nFor day to day business we run 2 Logstash instances and 2 ElasticSearch instances.\n\nOur website experiences short periods of high level traffic during events - our traffic increases by about 2000% during these events. We know about these occurring events well in advance.\n\nCurrently we just increase the number of ElasticSearch instances temporarily during the event. However we have had issues where we have subsequently scaled down too quickly, meaning we have lost shards and corrupted our indexes.\n\nI've been thinking of setting the auto_expand_replicas setting to \"1-all\" to ensure each node has a copy of all the data, so we don't need to worry about how quickly we scale up or down. How significant would the overhead of transferring all the data to new nodes be? We currently only keep about 2 weeks of log data - this works out around 50gb in all.\n\nI've also seen people mention using a separate auto scaling group of non-data nodes to deal with increases of search traffic, while keep the number of data nodes the same. Would this help in a write heavy situation, such as the event I previously mentioned?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2615,"accepted":true,"category":"03-visualization-quality","secondary_categories":["10-docs-and-ux"],"sentiment":"neutral","tags":[]}
{"id":"so-24064570","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/24064570/how-to-create-a-new-fields-on-kibana-for-logs","posted_at":"2014-06-05T15:43:50.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"user3711857","score":3,"kind":"question","title":"How to create a new fields on Kibana for logs?","body":"I configured a Fortimail to send its log messages to the Logstash, however, when I view the logs on the kibana Dashboard.\n\nI want to split the message field on several fields such as : time, device_id, from, to ...\n\nsee this picture:\n\n \n\nI do not know how to proceed in order to customize the fields.\n\nCan give me some ideas to know what files to configure?","product":["kibana"],"versions":[],"lang":"en","answer_count":5,"view_count":12615,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-23165746","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23165746/logstash-and-kibana-installers-for-windows","posted_at":"2014-04-19T04:17:39.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Nirmal","score":3,"kind":"question","title":"Logstash and Kibana installers for Windows","body":"I haven't found a pure Windows-only installation for Logstash and Kibana.\n\nI am starting to dig into using Logstash to manage log4j logs as input.\n\nCan anybody point me to pure Windows-only (using only Windows tools) installation for a standalone Windows developer machine?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3597,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-72430152","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72430152/elasticsearch-unable-to-get-issuer-certificate","posted_at":"2022-05-30T06:48:06.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"bithunter","score":3,"kind":"question","title":"Elasticsearch unable to get issuer certificate","body":"I am trying to encrypt tls certificate using LetsEncrypt. But my server page says: Kibana server is not ready yet.\nHere is the error in /etc/kibana/kibana.yml:\n{\"type\":\"log\",\"@timestamp\":\"2022-05-29T09:48:26+00:00\",\"tags\":[\"error\",\"elasticsearch-service\"],\"pid\":476059,\"message\":\"Unable to retrieve version information from Elasticsearch nodes. unable to get issuer certificate\"}\n\n\nI was using the same config with a self signed CA before, but it was working. But when I switched to LetsEncrypt, it does not work. The .pem files are same for both Kibana and Elasticsearch, and are copied from /etc/letsencrypt/archive/my.exampledomain.com/.\nElasticsearch Configuration:\npath.data: /var/lib/elasticsearch\npath.logs: /var/log/elasticsearch\n\n#network.host: 192.168.0.1\n#network.host: localhost\n#network.host: 0.0.0.0\nnetwork.host: [ _eth0_, _local_ ]\n\nhttp.port: 9200\n\n#discovery.seed_hosts: my.exampledomain.com\ndiscovery.type: single-node\nxpack.security.authc.api_key.enabled: true\n\nxpack.security.enabled: true\n\nxpack.security.http.ssl.enabled: true\nxpack.security.http.ssl.verification_mode: certificate\nxpack.security.http.ssl.key: /etc/elasticsearch/ssl/my.exampledomain.com/privkey2.pem\nxpack.security.http.ssl.certificate: /etc/elasticsearch/ssl/my.exampledomain.com/cert2.pem\nxpack.security.http.ssl.certificate_authorities: [ \"/etc/elasticsearch/ssl/my.exampledomain.com/fullchain2.pem\" ]\n\nxpack.security.transport.ssl.enabled: true\nxpack.security.transport.ssl.verification_mode: certificate\nxpack.security.transport.ssl.key: /etc/elasticsearch/ssl/my.exampledomain.com/privkey2.pem\nxpack.security.transport.ssl.certificate: /etc/elasticsearch/ssl/my.exampledomain.com/cert2.pem\nxpack.security.transport.ssl.certificate_authorities: [ \"/etc/elasticsearch/ssl/my.exampledomain.com/fullchain2.pem\" ]\n\n\nKibana Configuration:\nserver.port: 5601\n\n#server.host: \"localhost\"\n#server.host: \"my.exampledomain.com\"\nserver.host: \"0.0.0.0\"\n\nserver.publicBaseUrl: \"https://my.exampledomain.com\"\n\n#elasticsearch.hosts: [\"http://localhost:9200\"]\n#elasticsearch.hosts: [\"http://0.0.0.0:9200\"]\nelasticsearch.hosts: [\"https://my.exampledomain.com:9200\"]\n\nelasticsearch.ssl.certificateAuthorities: [\"/etc/kibana/ssl/my.exampledomain.com/fullchain2.pem\"]\nelasticsearch.ssl.verificationMode: \"certificate\"\n#elasticsearch.ssl.verify: true\n\n\nxpack.security.sameSiteCookies: \"None\"\nxpack.security.secureCookies: true\n\nxpack.security.authc.providers:\n  basic.basic1:\n    order: 0\n\n# Enable Kibana TLS over HTTPS\n\nserver.ssl.enabled: true\nserver.ssl.certificate: /etc/kibana/ssl/my.exampledomain.com/fullchain2.pem\nserver.ssl.key: /etc/kibana/ssl/my.exampledomain.com/privkey2.pem\n\n\nElasticsearch Test:\nElasticsearch server Response","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":4605,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-63496718","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/63496718/kibana-shows-the-data-you-are-seeing-might-be-incomplete-or-wrong","posted_at":"2020-08-20T00:27:52.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Daniel Ibanga","score":3,"kind":"question","title":"Kibana shows The data you are seeing might be incomplete or wrong","body":"Configuring my elk stack => Kibana, elasticsearch and filebeat. All working fine but, when i wanted to view the logs on kibana, i recieved this error\n1 of 8 shards failed\nThe data you are seeing might be incomplete or wrong.\nSee response:\n\n    {\n      \"took\": 332,\n      \"timed_out\": false,\n      \"_shards\": {\n        \"total\": 9,\n        \"successful\": 8,\n        \"skipped\": 8,\n        \"failed\": 1,\n        \"failures\": [\n          {\n            \"shard\": 0,\n            \"index\": \".apm-agent-configuration\",\n            \"node\": \"_KJoEVfvT9W8-ezUwcdPlg\",\n            \"reason\": {\n              \"type\": \"illegal_argument_exception\",\n              \"reason\": \"Trying to retrieve too many docvalue_fields. Must be less \n                than or equal to: [100] but was [136]. This limit can be set by \n                 changing the [index.max_docvalue_fields_search] index level \n                   setting.\"\n            }\n          }\n        ]\n      },\n      \"hits\": {\n        \"total\": 0,\n        \"max_score\": 0,\n        \"hits\": []\n      }\n    }\n\nPlease, any idea to this?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":11553,"accepted":true,"category":"13-observability-apm","secondary_categories":["04-performance-and-load"],"sentiment":"negative","tags":["apm"]}
{"id":"so-62742307","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/62742307/unable-to-start-kibana","posted_at":"2020-07-05T14:55:00.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Bobo","score":3,"kind":"question","title":"Unable to start kibana","body":"I've installed latest  binaries of both elasticsearch/kibana from AUR.\nI am unable to start the kibana service. It keeps failing with the following error.\nJul 05 15:51:16 castle node[1771]: Unhandled Promise rejection detected:\nJul 05 15:51:16 castle node[1771]: TypeError: Cannot set property 'writecb' of undefined\nJul 05 15:51:16 castle node[1771]:     at LogInterceptor.Transform._write (_stream_transform.js:185:14)\nJul 05 15:51:16 castle node[1771]:     at writeOrBuffer (_stream_writable.js:352:12)\nJul 05 15:51:16 castle node[1771]:     at LogInterceptor.Writable.write (_stream_writable.js:303:10)\nJul 05 15:51:16 castle node[1771]:     at Monitor.push (/usr/share/kibana/node_modules/@elastic/good/lib/monitor.js:207:30)\nJul 05 15:51:16 castle node[1771]:     at Monitor._logHandler (/usr/share/kibana/node_modules/@elastic/good/lib/monitor.js:40:18)\nJul 05 15:51:16 castle node[1771]:     at module.exports.internals.Podium.internals.Podium.emit (/usr/share/kibana/node_modules/podium/lib/index.js:220:49)\nJul 05 15:51:16 castle node[1771]:     at module.exports.internals.Core._log (/usr/share/kibana/node_modules/hapi/lib/core.js:584:21)\nJul 05 15:51:16 castle node[1771]:     at module.exports.internals.Core.log (/usr/share/kibana/node_modules/hapi/lib/core.js:562:21)\nJul 05 15:51:16 castle node[1771]:     at internals.Server.log (/usr/share/kibana/node_modules/hapi/lib/server.js:312:27)\nJul 05 15:51:16 castle node[1771]:     at KbnServer._default (/usr/share/kibana/src/optimize/index.js:68:12)\nJul 05 15:51:16 castle node[1771]:     at async KbnServer.mixin (/usr/share/kibana/src/legacy/server/kbn_server.js:150:7)\nJul 05 15:51:16 castle node[1771]:     at async KbnServer.listen (/usr/share/kibana/src/legacy/server/kbn_server.js:162:5)\nJul 05 15:51:16 castle node[1771]:     at async LegacyService.createKbnServer (/usr/share/kibana/src/core/server/legacy/legacy_service.js:285:9)\nJul 05 15:51:16 castle node[1771]:     at async LegacyService.start (/usr/share/kibana/src/core/server/legacy/legacy_service.js:159:24)\nJul 05 15:51:16 castle node[1771]:     at async Server.start (/usr/share/kibana/src/core/server/server.js:193:5)\nJul 05 15:51:16 castle node[1771]:     at async Root.start (/usr/share/kibana/src/core/server/root/index.js:55:14)\nJul 05 15:51:16 castle node[1771]: Terminating process...\nJul 05 15:51:16 castle systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE\nJul 05 15:51:16 castle systemd[1]: kibana.service: Failed with result 'exit-code'.\nJul 05 15:51:16 castle systemd[1]: kibana.service: Scheduled restart job, restart counter is at 3.\n\nAll configurations in elasticsearch/kibana are default. I can curl elasticsearch from console.\nAny pointers?\nThanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":1765,"accepted":true,"category":"06-sharing-and-export","secondary_categories":["10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-59262943","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/59262943/elk-removing-old-logs-viewable-in-kibana","posted_at":"2019-12-10T08:24:22.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"alexmcc42","score":3,"kind":"question","title":"ELK - Removing old logs viewable in Kibana","body":"I have managed to process log files using the ELK kit and I can now see my logs on Kibana.\n\nI have scoured the internet and can't seem to find a way to remove all the old logs, viewable in Kibana, from months ago. (Well an explaination that I understand). I just want to clear my Kibana and start a fresh by loading new logs and them being the only ones displayed. Does anyone know how I would do that?\n\nNote: Even if I remove all the Index Patterns (in Management section), the processed logs are still there.\n\nContext: I have been looking at using ELK to analyse testing logs in my work. For that reason, I am using ElasticSearch, Kibana and Logstatsh v5.4, and I am unable to download a newer version due to company restrictions.\n\nAny help would be much appreciated!\n\nKibana screenshot displaying logs\n\nUpdate: \n\nI've typed \"GET /_cat/indices/*?v&s=index\" into the Dev Tools>Console and got a list of indices.\n\nI initially used the \"DELETE\" function, and it didn't appear to be working. However, after restarting everything, it worked the seond time and I was able to remove all the existing indices which subsiquently removed all logs being displayed in Kibana.\n\nSUCCESS!","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":16145,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-57601671","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57601671/unable-to-open-the-kibana-dashboard","posted_at":"2019-08-22T03:27:58.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"ArrchanaMohan","score":3,"kind":"question","title":"Unable to open the Kibana dashboard","body":"I just installed the kiban (docker pull docker.elastic.co/kibana/kibana:6.0.1) as docker image and I used below command to run the image service on linux.\n\n  docker run -d -p 5061:5061 --name kibana <ImageName>\n\n\nAnd it's make the service to up and running, and I just opened the browser and hit the Kibana service but it shows below error message:\n\n\n  Login is currently disabled. Administrators should consult the Kibana logs for more details.\n\n\n\nI just googled and observed that I need to make some changes on kibana.yaml file but not sure where I can find that file.\n\nI used find command to search the folder or file but I didn't find any.\n\nSearch:\n\nfind kibana\n\n\nOutput:\n\nNo matches found.\n\nKibana Logs:\n\n{\"type\":\"log\",\"@timestamp\":\"2019-08-21T18:18:46Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"No living connections\"}\n{\"type\":\"log\",\"@timestamp\":\"2019-08-21T18:18:49Z\",\"tags\":[\"warning\",\"elasticsearch\",\"admin\"],\"pid\":1,\"message\":\"Unable to revive connection: http://elasticsearch:9200/\"}\n\n\nCan anyone help me to resolve this issue?","product":["kibana"],"versions":["6.0.1"],"lang":"en","answer_count":3,"view_count":1255,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","11-ml-and-anomaly"],"sentiment":"negative","tags":[]}
{"id":"so-56785135","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56785135/how-to-visualize-message-from-kafka-in-kibana","posted_at":"2019-06-27T06:27:51.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Jin Lee","score":3,"kind":"question","title":"How to visualize message from Kafka in Kibana","body":"I am gathering data with Packetbeat, Metricbeat, and Filebeat and send them to Logstash through Kafka and then Elasticsearch, finally to Kibana. \n\nWhen I didn't use Kafka and Logstash. I could easily visualize in Kibana through default dashboard setup and many available fields. I can create dashboards showing CPU, RAM, disk space metric data.\n\nHowever, when I use Kafka and Logstash, all the data is stored in message field. I don't have many fields which I can use to visualize it in dashboards. I think Kafka puts everything in the message. I want to visualize all the system metrics data and others.  \n\n\n\n\n\n\n  How can I utilize data in the message field to visualize it? \n\n\nThe following link appears as a similar question, but my situation is a little bit different, and it does not solve my case. \nSO similar question\n\n\n\nMy Logstash configuration : \n\ninput {\n    kafka {\n            bootstrap_servers => \"localhost:9092\"\n            topics => [\"testkafka\"]\n            codec => json    <=  Val's answer right here.\n    }\n}\n\noutput {\n  elasticsearch {\n    hosts => [\"localhost:9200\"]\n    index => [\"testkafka\"]\n    codec => json","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4525,"accepted":true,"category":"01-dashboard-authoring","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-51169117","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/51169117/kibana-6-4-runnin-as-daemon","posted_at":"2018-07-04T08:27:34.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Learn Hadoop","score":3,"kind":"question","title":"Kibana 6.4 Runnin as Daemon","body":"I am using elasticsearch.zip , and kibana.zip in linux . Elastic search have option to run as daemon using (elasticsearch -d -p pid). it is working fine after we closed the putty. How can achieve the same for kibana . I tried with \"kibana &\". after closing the putty session , i couldn't access it . Any solution highly appreciated.","product":["kibana"],"versions":["6.4"],"lang":"en","answer_count":1,"view_count":3950,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-49792349","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/49792349/get-top-10-most-used-words-in-text-fields","posted_at":"2018-04-12T09:03:23.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Mit94","score":3,"kind":"question","title":"Get top 10 most used words in text fields","body":"I have an index containing thousands of documents, each one of them having a full text field.\n\nI want to search through all those fields and fetch the 10 most common words that come back most often.\n\nI would also like a way of visualizing it on Kibana if that's possible.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3552,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-38096827","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/38096827/querying-kibana-using-grok-pattern","posted_at":"2016-06-29T10:22:54.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Veer Shrivastav","score":3,"kind":"question","title":"Querying Kibana using grok pattern","body":"We have configured ELK stack over our daily logs and using Kibana UI to perform basic search/query operation on the the set of logs.\n\nSome of our logs have a certain field in the message while others don't. Therefore we have not configured it as a separate field while configuring Logstash.\n\nI have logs like:\n\n[28/Jun/2016:23:59:56 +0530] 192.168.xxx.xxx [API:Profile]get_data_login: Project password success:  9xxxxxxxxx0\n[28/Jun/2016:23:59:56 +0530] 192.168.xxx.xxx [API:Profile]session_end: logout success:  9xxxxxxxxx0 TotalTime:1.1234\n\n\nIn these two logs, I wish to extract TotalTime for all session_end logs. And visualize it.\n\nHow should I do it?\n\nI can search all the logs which are listed under session_end, however I am not able to perform grok on the set of logs.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":3079,"accepted":true,"category":"10-docs-and-ux","secondary_categories":["01-dashboard-authoring","02-discover-and-kql"],"sentiment":"neutral","tags":[]}
{"id":"so-36644873","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/36644873/elasticsearch-kibana-creates-big-log-files-how-to-turn-off","posted_at":"2016-04-15T10:37:23.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"John Smith","score":3,"kind":"question","title":"Elasticsearch. Kibana creates big log files. How to turn off?","body":"I am using Elasticsearch for storing goods in online store.\nIn /var/log/elasticsearch kibana regulalry creates log files. Big log files. So that, It doesn't leave me a free space. As I have only 15Gb SSD on my VPS this becomes a huge problem. And each time logs are being created by Kibana they becomes bigger.\nWhat should I do? Why do I need those log files? The only decision I see is to turn off logs. How can I do this?\nWhat is the best practice for this case? If I do not delete it, then I, sooner or later, will run out of free space, even if I would have 100Gb of free space.","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":3809,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-35969920","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35969920/install-shield-on-kibana-gives-pem-error","posted_at":"2016-03-13T11:57:00.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"EddieHR","score":3,"kind":"question","title":"Install shield on kibana gives PEM error","body":"I'm using sebp/elk docker for ES/Kibana/Logstash and everything usually works like a charm.\n\nNow I want to try installing shield on all components and everything's ok except kibana.\n\nroot@2f6452f2e11e:/opt/kibana# bin/kibana plugin --install kibana/shield/latest\nInstalling shield\nAttempting to transfer from https://download.elastic.co/kibana/shield/shield-latest.tar.gz\nTransferring 5887233 bytes....................\nTransfer complete\nExtracting plugin archive\nExtraction complete\nOptimizing and caching browser bundles...\nPlugin installation was unsuccessful due to error \"error:0906A068:PEM routines:PEM_do_header:bad password read\"\n\n\nI followed instructions from here: https://www.elastic.co/guide/en/shield/current/kibana.html\nIt says about configuring server.ssl.* properties which I did after creating those with openssl. I guess the error is something with certificates, but I'm not sure what to do. I tried playing with installation of certificates, registering and stuff, but I might be doing something wrong.\n\nAfter that, when Kibana tries to start it simply fails (from kibana4.log):\n\n[\"error\",\"elasticsearch\"],\"pid\":211,\"message\":\"Request error, retrying -- connect ECONNREFUSED\"}\n[\"warning\",\"elasticsearch\"],\"pid\":211,\"message\":\"Unable to revive connection: http://localhost:9200/\"}\n[\"warning\",\"elasticsearch\"],\"pid\":211,\"message\":\"No living connections\"}\n  [\"status\",\"plugin:elasticsearch\",\"error\"],\"pid\":211,\"name\":\"plugin:elasticsearch\",\"state\":\"red\",\"message\": \"Status changed from green to red - Unable to connect to Elasticsearch at http://localhost:9200.\",\"prevState\":\"green\",\"prevMsg\":\"Kibana index ready\"}\n\n\nFrom elasticsearch log:\n\n[2016-03-13 11:35:42,843][INFO ][rest.suppressed          ] / Params: {}\nElasticsearchSecurityException[missing authentication token for REST request [/]]\n    at org.elasticsearch.shield.support.Exceptions.authenticationError(Exceptions.java:39)\n    at org.elasticsearch.shield.authc.DefaultAuthenticationFailureHandler.missingToken(DefaultAuthenticationFailureHandler.java:65)\n    at org.elasticsearch.shield.authc.InternalAuthenticationService.authenticate(InternalAuthenticationService.java:102)\n    at org.elasticsearch.shield.rest.ShieldRestFilter.process(ShieldRestFilter.java:71)\n    at org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:265)\n    at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:176)\n\n\nAny sort of direction would be very appreciated.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":1067,"accepted":true,"category":"15-plugin-and-ecosystem","secondary_categories":["04-performance-and-load","05-index-patterns-data-views","08-spaces-and-rbac"],"sentiment":"negative","tags":[]}
{"id":"so-34725329","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/34725329/json-escaping-in-logstash","posted_at":"2016-01-11T15:35:22.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"user3495816","score":3,"kind":"question","title":"JSON escaping in Logstash","body":"I am sending some JSON data from Java server via TCP to Logstash (Logstash sends them to Elasticsearch) and these JSON data seems to be escaped in Elastic.\n\nJava serialization:\n\nMap<String, Object> jsonMap = new HashMap<>();\njsonMap.put(\"age\", event.getAge());\nfor (Entry<String, Serializable> attribute : event.getAttributes().entrySet()) {\n    jsonMap.put(\"attribute_\" + attribute.getKey(), attribute.getValue());\n}\njsonMap.put(\"message\", event.getMessage());\njsonMap.put(\"cause\", event.getCause());\njsonMap.put(\"timestamp\", event.getTimestamp());\njsonMap.put(\"eventid\", event.getEventId());\njsonMap.put(\"instanceid\", event.getInstanceId());\njsonMap.put(\"origin\", event.getOrigin());\njsonMap.put(\"severity\", event.getSeverity());\njsonMap.put(\"durability\", event.getDurability());\njsonMap.put(\"detail\", event.getDetail());\nint i = 0;\nfor (String tag : event.getTags()) {\n    jsonMap.put(\"tag_\" + String.valueOf(i), tag);\n    i++;\n}\n\nreturn new JSONObject(jsonMap).toString();\n\n\nJava Socket:\n\ntry (Socket clientSocket = new Socket(url, port);\n    OutputStreamWriter out = new OutputStreamWriter(\n        clientSocket.getOutputStream(), \"UTF-8\")) {\n    out.write(content.toString());\n    out.flush();\n}\n\n\nExample data in Elastic:\n\n\"message\": \"{\\\"detail\\\":null,\\\"cause\\\":null,\\\"attribute_start\\\":\\\"Mon Jan 11 16:15:28 CET 2016\\\",\\\"durability\\\":\\\"MOMENTARY\\\",\\\"attribute_login\\\":\\\"\\\",\\\"origin\\\":\\\"fortuna.ws.navipro\\\",\\\"severity\\\":\\\"ERROR\\\",\\\"attribute_type\\\":null,\\\"attribute_methodName\\\":\\\"Logout\\\",\\\"eventid\\\":\\\"ws.navipro.call\\\",\\\"attribute_call\\\":\\\"[57,7256538816272415441,,OK]{0 connections} CZ() Calling method 'Logout' at 1452525329029(Mon Jan 11 16:15:28 CET 2016-Mon Jan 11 16:15:29 CET 2016; roundtrip=36ms):\\\\n\\\\tRequest\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.ClientLogoutRequest\\\\n\\\\t\\\\tkeep: true\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.RequestBody\\\\n\\\\t\\\\tcountry: CZ\\\\n\\\\t\\\\tsessionCC: NULL\\\\n\\\\t\\\\tsessionID:\\\\n\\\\t\\\\tsessionIP:\\\\n\\\\t\\\\tdebug: NULL\\\\n\\\\t\\\\tns: NULL\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.RequestCorpus\\\\n\\\\tResponse\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.ClientLogoutResponse\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.ResponseBody\\\\n\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.ResponseCorpus\\\\n\\\\t\\\\tmessage: \\\\n\\\\t\\\\t[1] \\\\n\\\\t\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.Message\\\\n\\\\t\\\\t\\\\tparam: \\\\n\\\\t\\\\t\\\\t[1] \\\\n\\\\t\\\\t\\\\t\\\\tCLASS com.etnetera.projects.jnp.fortuna.navipro.ws.Message$Param\\\\n\\\\t\\\\t\\\\t\\\\tindex: 0\\\\n\\\\t\\\\t\\\\t\\\\ttype: NULL\\\\n\\\\t\\\\t\\\\t\\\\tvalue: 3\\\\n\\\\t\\\\t\\\\tid: 104\\\\n\\\\t\\\\t\\\\tseverity: NOTIFICATION\\\\n\\\\t\\\\t\\\\tlink: NULL\\\\n\\\\t\\\\tentryLink: NULL\\\\n\\\\t\\\\thint: NULL\\\\n\\\\t\\\\thintType: NULL\\\\n\\\\t\\\\tstatus: OK\\\\nEND\\\",\\\"timestamp\\\":1452525329030,\\\"message\\\":\\\"NaviPro method Logoutcalled.\\\",\\\"tag_1\\\":\\\"NaviPro\\\",\\\"attribute_end\\\":\\\"Mon Jan 11 16:15:29 CET 2016\\\",\\\"attribute_sessionId\\\":\\\"\\\",\\\"age\\\":0,\\\"tag_0\\\":\\\"Logout\\\",\\\"instanceid\\\":\\\"Logout\\\",\\\"attribute_address\\\":\\\"\"}\"\n\n\nLogstash config:\n\ninput {\n  syslog {\n    port => 1514\n  }\n  tcp {\n    port => 3333\n  }\n}\n\nfilter {\n  if [type] == \"docker\" {\n    json {\n      source => \"message\"\n    }\n    mutate {\n      rename => [ \"log\", \"message\" ]\n    }\n    date {\n      match => [ \"time\", \"ISO8601\" ]\n    }\n  }\n}\n\noutput {\n  elasticsearch {\n    hosts => \"elasticsearch:9200\"\n  }\n}\n\n\nI want to have data in Elastic as JSON so I can filter fields in Kibana.\n\nEDIT:\n\nIf I try to change configuration to this:\n\ninput {\n  tcp {\n    port => 3333\n    codec => json\n  }\n}\n\n\nLogstash refuses to launch with this line in log:\n\nlogstash_1 | {:timestamp=>\"2016-01-13T10:13:58.583000+0000\", :message=>\"SIGTERM received. Shutting down the pipeline.\", :level=>:warn}","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":5006,"accepted":true,"category":"04-performance-and-load","secondary_categories":["12-maps-and-geo","07-alerting-and-watcher","10-docs-and-ux"],"sentiment":"negative","tags":[]}
{"id":"so-33673510","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/33673510/logstash-kibana-geoip-not-working","posted_at":"2015-11-12T14:15:22.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Archetype","score":3,"kind":"question","title":"Logstash/Kibana GeoIP not working","body":"I am attempting to create GeoIP data using an ELK stack, which can be visualized in Kibana.\n\nI have recently installed an ELK stack (Elastic Search, Logstash, and Kibana) on a virtual instance of Ubuntu Server 14.04. I am using Bro to capture logs.\n\nEverything to do with capturing the logs, parsing them, and viewing them in Kibana is working great, except for GeoIP (one of the most interesting features!).\n\nThe GeoIP portion of my logstash config file looks like this;\n\ngeoip {\n  add_tag => [ \"geoip\" ]\n  database => \"/etc/logstash/GeoLiteCity.dat\" \n  source => \"id.orig_h\"\n  target => \"geoip\"\n  add_field => [ \"[geoip][coordinates]\", \"%{[geoip][longitude]}\"]\n  add_field => [ \"[geoip][coordinates]\", \"%{[geoip][latitude]}\" ]\n}\nmutate {\n  convert => [ \"[geoip][coordinates]\", \"float\" ]\n}\n\n\nI had gotten that part of the filter from the following guide to setup GeoIP with Kibana. I have also seen that filter used in a few other places.\nI have attempted to simplify the filter (just source, target, database), but no luck.\n\nWhen I do a curl request for my index, especially with the add_tag [\"geoip\"] it returns blank data;\n\n\"geoip\" : {\n        \"dynamic\" : \"true\",\n        \"properties\" : {\n          \"location\" : {\n            \"type\" : \"geo_point\"\n          }\n        }\n\n\nFinally, here is some scrubbed data that I have taken directly from Kibana, in JSON format;\n\n{\n  \"_index\": \"logstash-2015.11.12\",\n  \"_type\": \"bro-conn_log\",\n  \"_id\": \"*****\",\n  \"_score\": null,\n  \"_source\": {\n    \"message\": [\n      \"*****\"\n    ],\n    \"@version\": \"1\",\n    \"@timestamp\": \"2015-11-12T13:43:16.205Z\",\n    \"host\": \"elk\",\n    \"path\": \"/nsm/bro/logs/current/conn.log\",\n    \"type\": \"bro-conn_log\",\n    \"ts\": \"*****\",\n    \"uid\": \"*****\",\n    \"id.orig_h\": \"*****\",\n    \"id.orig_p\": *****,\n    \"id.resp_h\": \"*****\",\n    \"id.resp_p\": *****,\n    \"proto\": \"*****\",\n    \"service\": \"*****\",\n    \"duration\": *****,\n    \"orig_bytes\": *****,\n    \"resp_bytes\": *****,\n    \"conn_state\": \"*****\",\n    \"local_orig\": \"*****\",\n    \"missed_bytes\": *****,\n    \"history\": \"*****\",\n    \"orig_pkts\": *****,\n    \"orig_ip_bytes\": *****,\n    \"resp_pkts\": *****,\n    \"resp_ip_bytes\": *****,\n    \"tunnel_parents\": \"*****\",\n    \"column21\": \"(empty)\",\n    \"conn_state_full\": \"*****\"\n  },\n  \"fields\": {\n    \"@timestamp\": [\n      1447335796205\n    ]\n  },\n  \"sort\": [\n    1447335796205\n  ]\n}\n\n\nTo summarize: I am attempting to get GeoIP data working with an ELK stack. Despite following guides describing how to do exactly that, the GeoIP field will not display in Kibana. Any advice would be GREATLY appreciated.","product":["kibana"],"versions":["14.04","11.12"],"lang":"en","answer_count":1,"view_count":6681,"accepted":true,"category":"12-maps-and-geo","secondary_categories":["10-docs-and-ux","01-dashboard-authoring"],"sentiment":"positive","tags":[]}
{"id":"so-28407522","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/28407522/kibana-filter-events-for-today","posted_at":"2015-02-09T10:23:58.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Jochen van Wylick","score":3,"kind":"question","title":"Kibana: filter events for today","body":"I'm using Kibana on top of logstash and I want to filter items in the index to today, or the last 24 hours is fine too.\n\nSo apparently this requires me to run a range query against the underlying ElasticSearch engine that would look like:\n\n\"range\" : {\n    \"timestamp\" : {\n        \"gte\": \"now-24h\",\n        \"lte\": \"now\",\n    }\n}\n\n\nHowever - I can't put that in the filter box in Kibana 3:\n\n\n\nThis is a numeric range query and it doesn't work - but it shows the input box and the idea.\n\nSo my question: how can I create a filter that filters the events to a date range in Kibana 3?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":9743,"accepted":true,"category":"02-discover-and-kql","secondary_categories":["10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-25604226","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/25604226/how-to-aggregate-in-kibana-information-from-multiple-elasticsearch-indexes","posted_at":"2014-09-01T10:53:05.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Vagif Abilov","score":3,"kind":"question","title":"How to aggregate in Kibana information from multiple Elasticsearch indexes?","body":"We are setting up logs from several related applications so the log events are imported into Elasticsearch (via Logstash). It was straightforward create Kibana dashboards to visualize log indexes for each application, but since the applications are related and its activities belong to the same pipeline, it would be great to build a dashboard that would show aggregated information, collected from different applications. Such dashboard would be especially useful to track failures and performance problems.\n\nRight now I can see three main ways to implement aggregated dashboard:\n\n\nKeep separate application logs and configure Kibana dashboard that would consume information from different applications. I am afraid this can be a challenging task, I am not even sure Kibana fully supports it.\nRevise application logging so they will all log to the same index. What I dislike about this is that log event structure must be then unified across applications, and they are built by different people in different languages. I've lost my faith to centralized control over such low level details like logging.\nKeep applications log and corresponding Elastichsearch indexes as they are now, but set up a new index which will contain aggregate information. This article describes how to configure Elasticsearch to dump it’s logs to Logstash which would then insert them back into Elasticsearch for searching. At first glance this approach may look surprising: why would you need to re-insert log data once again into the same database? It's another index, it adds overhead, uses more space etc. But it gives the opportunity to set up the index in a way that will be suitable for a aggregated Kibana dashboard.\n\n\nI wonder if someone has gone through a similar dilemma and can share their experience.","product":["kibana"],"versions":[],"lang":"en","answer_count":2,"view_count":9624,"accepted":false,"category":"01-dashboard-authoring","secondary_categories":["04-performance-and-load","10-docs-and-ux","12-maps-and-geo"],"sentiment":"neutral","tags":[]}
{"id":"so-23192628","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23192628/logstash-elasticsearch-initial-type-mapping-results-in-missing-log-lines","posted_at":"2014-04-21T07:08:11.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Shahar","score":3,"kind":"question","title":"Logstash + ElasticSearch: initial type mapping results in missing log lines","body":"We have a classic logstash + elasticsearch + kibana setup for log aggregation. We use it to aggregate logs across all servers and applications, and we've stumbled upon the following problem: the first time ES receives a log line (a JSON document in our case), it creates a mapping for that document (see http://bit.ly/1h3qwC9). Most of the time, properties are mapped as strings, but in some cases they're mapped as dates or numbers. In the latter case, if another log line (from a different application) has the same field, but with a string value, ES will fail to index it (throwing an exception to its log and continue as usual). As a workaround we've configured ES to ignore malformed documents (index.mapping.ignore_malformed: true), but it feels more of a hack.\n\nAny ideas how to solve this issue in an elegant way?","product":["kibana"],"versions":[],"lang":"en","answer_count":3,"view_count":2964,"accepted":true,"category":"05-index-patterns-data-views","secondary_categories":["12-maps-and-geo"],"sentiment":"negative","tags":[]}
{"id":"so-17659963","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/17659963/extracting-fields-in-logstash","posted_at":"2013-07-15T17:16:09.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"user2406467","score":3,"kind":"question","title":"Extracting fields in Logstash","body":"I am using Logstash (with Kibana as the UI).  I would like to extract some fields from my logs so that I can filter by them on the LHS of the UI.\n\nA sample line from my log looks like this:\n\n2013-07-04 00:27:16.341 -0700 [Comp40_db40_3720_18_25] client_login=C-316fff97-5a19-44f1-9d87-003ae0e36ac9 ip_address=192.168.4.1\n\n\nIn my logstash conf file, I put this:\n\nfilter {\n    grok {\n        type => \"mylog\"\n        pattern => \"(?<CLIENT_NAME>Comp\\d+_db\\d+_\\d+_\\d+_\\d+)\"\n    }\n}\n\n\nIdeally, I would like to extract Comp40_db40_3720_18_25 (the number of digits can vary, but will always be at least 1 in each section separated by _) and client_login (can also be client_logout).  Then, I can search for CLIENT_NAME=Comp40... CLIENT_NAME=Comp55, etc.\n\nAm I missing something in my config to make this a field that I can use in Kibana?\n\nThanks!","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":4415,"accepted":false,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"positive","tags":[]}
{"id":"so-73127374","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/73127374/why-is-logback-encoder-structuredarguments-not-printing-the-log","posted_at":"2022-07-26T17:17:50.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Bravo","score":3,"kind":"question","title":"Why is logback.encoder StructuredArguments not printing the log?","body":"Dependency\nimplementation(\"net.logstash.logback:logstash-logback-encoder:${version}\")\n\nCode Sample\nimport static net.logstash.logback.argument.StructuredArguments.keyValue;\n\n@Component\n@Slf4j\npublic class TestClass {\n\n    public void testLogging() {\n        CustomObject customObject = new CustomObject(...);\n        log.info(\"==> Log Sample 1 : customObject {}\", customObject);\n\n        log.info(\"==> Log Sample 2 : {}\", keyValue(\"customObject\", customObject));\n    }\n\n    //calling testLogging method in main method\n}\n\nlogback.xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<configuration>\n    <include resource=\"org/springframework/boot/logging/logback/defaults.xml\"/>\n    <appender name=\"jsonConsoleAppender\" class=\"ch.qos.logback.core.ConsoleAppender\">\n        <encoder class=\"net.logstash.logback.encoder.LogstashEncoder\">\n            <timestampPattern>MM-dd'T'HH:mm:ss.SSS</timestampPattern>\n        </encoder>\n    </appender>\n    <root level=\"INFO\">\n        <appender-ref ref=\"jsonConsoleAppender\"/>\n    </root>\n</configuration>\n\n[Actual Output]\n\n1st log gets printed to the console but second one doesn't.\n[Expected Output]\n\nAccording to this article,\n\"\nimport static net.logstash.logback.argument.StructuredArguments.keyValue;\n\nString orderId = \"123\";\nlog.info(\"Order saved {}\", keyValue(\"orderId\", orderId));\n\nThe orderId is both added to the message (through the {}-placeholder) and to the JSON output as a separate field. This can be searched and displayed in Kibana\n\nHowever, using keyValue() the log statement is not\n\nlogging to the console (being ignored at all)\ncustomObject not listed as a separate filter field in kibana UI\n\nIs there any additional configuration required for this in logback.xml or elsewhere to pick these sort of log statements?","product":["kibana"],"versions":[],"lang":"en","answer_count":1,"view_count":2412,"accepted":false,"category":"10-docs-and-ux","secondary_categories":["11-ml-and-anomaly"],"sentiment":"neutral","tags":[]}
{"id":"so-60183626","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/60183626/unable-to-restore-elasticsearch-snapshots-from-s3-using-the-repository-s3-plugin","posted_at":"2020-02-12T08:00:47.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Arnav Singh Chauhan","score":3,"kind":"question","title":"Unable to restore elasticsearch snapshots from S3 using the repository-s3 plugin after nodes data directory got deleted from all nodes","body":"I am using repository-s3 plugin for snapshot and restore with elasticsearch 7.5.1. \n\nI created snapshot policies and took snapshot of specific indices, confirmed that they existed in my S3 bucket. Now due to some reason, I had to delete data from all my nodes manually, so I ran\n\nrm -r /var/lib/elasticsearch/nodes/0/ for all the nodes in my cluster. \n\nNow when I again go to the snapshot and restore tab in kibana, it doesn't show my old snapshots data and I am not able to restore my indexes even though they are present in my S3 bucket. \nI need to restore the indexes and need help with the same.","product":["kibana"],"versions":["7.5.1"],"lang":"en","answer_count":1,"view_count":647,"accepted":false,"category":"15-plugin-and-ecosystem","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-58824243","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/58824243/export-import-kibana-7-4-objects-through-saved-objects-api","posted_at":"2019-11-12T18:00:54.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"HerrIvan","score":3,"kind":"question","title":"Export-import Kibana [7.4] objects through saved_objects api","body":"I am trying to move index patterns, visualizations and dashboards from one Kibana to another. They are running in separate dockers, listening to different ports. In the saved_objects API there are, import and export. Naively assuming that what export produces can be consumed by import I tried the code below:\n\nimport requests as req\n\nheader = {'Content-Type': 'application/json', 'kbn-xsrf': 'true'}\n\nrequest_json_index_pattern = '''\n{\n  \"type\": \"index-pattern\"\n}\n'''\n\nindex_patterns = req.post(kibana_host+':5601/api/saved_objects/_export',\n                    data=request_json_index_pattern,\n                    headers = header,\n                    auth = (elastic_user, elastic_password))\n\n\nres = req.post(kibana_host+':5602/api/saved_objects/_import',\n                    data=index_patterns.content,\n                    headers = header,\n                    auth = (elastic_user, elastic_password))\n\n\n\nprint(res.content)\n\n\nBut all I get is\n\n{'statusCode': 415, 'error': 'Unsupported Media Type', 'message': 'Unsupported Media Type'}\n\n\nAll that, notwithstanding that index_patterns.content is a well-formatted ndjson– I can parsed it with ndjson.loads.\n\nWhat am I missing?\n\n(Btw, my source Kibana instance is 7.3.1 while the target is 7.4.0. Can that be the problem?)","product":["kibana"],"versions":["7.4","7.3.1","7.4.0"],"lang":"en","answer_count":2,"view_count":3366,"accepted":false,"category":"05-index-patterns-data-views","secondary_categories":["01-dashboard-authoring","06-sharing-and-export"],"sentiment":"neutral","tags":[]}
{"id":"so-57375286","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57375286/exceeding-maximum-length-of-field-in-elasticsearch-error-in-kibana","posted_at":"2019-08-06T11:42:35.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"UMA MAHESWAR","score":3,"kind":"question","title":"Exceeding maximum length of field in elasticsearch - error in kibana","body":"Discover: The length of [message] field of [-CSnZmwB_xkQcDCOrP1V] doc of [prod_logs] index has exceeded [1000000] - maximum allowed to be analyzed for highlighting. This maximum can be set by changing the [index.highlight.max_analyzed_offset] index level setting. For large texts, indexing with offsets or term vectors is recommended!\n\nI get the above error in Kibana. I use ELK version 7.2.0. Answers / Suggestions are most welcome.","product":["kibana"],"versions":["7.2.0"],"lang":"en","answer_count":1,"view_count":7897,"accepted":false,"category":"02-discover-and-kql","secondary_categories":["04-performance-and-load"],"sentiment":"neutral","tags":["discover"]}
{"id":"so-57261888","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/57261888/pin-nodejs-version-on-alpine-without-building-from-source","posted_at":"2019-07-29T21:58:48.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Hexy","score":3,"kind":"question","title":"Pin nodejs version on Alpine without building from source","body":"I am trying to install Kibana 6.7.0 on Docker. Base inherited FROM behance/docker-nginx:8.5-alpine\nKibana throws an error stating it requires node version 10.15.2\nbecause alpine default offers 10.16.0 from the apk repo. \n\nI tried pinning down node version like this\n\ncurl -O https://nodejs.org/download/release/v10.15.2/node-v10.15.2-linux-x64.tar.gz\ntar xzf node-v10.15.2-linux-x64.tar.gz\n\n\nand \nENV PATH=\"/node-v10.15.2-linux-x64/bin:${PATH}\"\n\nWhen I do node -v \nI get an error saying node /node-v10.15.2-linux-x64/bin/node not found even though it is present. \n\nIs it possible to install node 10.15.2 without building from the source?","product":["kibana"],"versions":["6.7.0","8.5","10.15.2","10.16.0"],"lang":"en","answer_count":1,"view_count":1575,"accepted":true,"category":"10-docs-and-ux","secondary_categories":[],"sentiment":"neutral","tags":[]}
{"id":"so-56465589","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56465589/kibana-request-timeout-after-30000ms-at-usr-share-kibana-node-modules-elastic","posted_at":"2019-06-05T17:47:31.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"tryingHard","score":3,"kind":"question","title":"Kibana - Request Timeout after 30000ms at /usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:355:15","body":"Fresh installment of Kibana (On redhat 7.6 (64bit) via yum) starts, but is restarting every minute. Before it restarted every 5 seconds, but i fixed it after changing /etc/fstab to allow noexec on /var cause it is needed for /var/lib/kibana/headless_shell-linux/headless_shell.\n\nI tried starting Kibana by command instead of systemctl to see full logs:\n/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml\n\nIt gives me output:\n\n  log   [14:59:49.784] [info][status][plugin:kibana@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:49.812] [info][status][plugin:elasticsearch@undefined] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.814] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.820] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.828] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.831] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.841] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml \n  log   [14:59:49.845] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended. \n  log   [14:59:49.851] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.872] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.874] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.907] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.909] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.922] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.926] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.927] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.932] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.945] [info][status][plugin:apm_oss@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:49.956] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.957] [info][status][plugin:tile_map@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:49.959] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.961] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.965] [info][status][plugin:interpreter@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:49.972] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.975] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.977] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:49.978] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:49.999] [info][status][plugin:console@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:50.002] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.004] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.006] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:50.039] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.041] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:50.048] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:50.053] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch \n  log   [14:59:50.061] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.069] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.084] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.086] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready \n  log   [14:59:50.094] [info][status][plugin:metrics@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:50.210] [info][status][plugin:timelion@undefined] Status changed from uninitialized to green - Ready \n  log   [14:59:50.507] [info][status][plugin:elasticsearch@undefined] Status changed from yellow to green - Ready \n  log   [14:59:50.513] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.514] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.514] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.514] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.515] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.515] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.515] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.515] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.516] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.516] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.516] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.516] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.517] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.517] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.517] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.517] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.517] [error][status][plugin:[email protected]] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. \n  log   [14:59:50.901] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection. \n  log   [14:59:50.903] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml \n  log   [14:59:50.919] [error][status][plugin:[email protected]] Status changed from uninitialized to red - [data] Elasticsearch cluster did not respond with license information. \n error  [15:00:20.514] [warning][process] UnhandledPromiseRejectionWarning: Error: Request Timeout after 30000ms \n    at /usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:355:15 \n    at Timeout.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:384:7) \n    at ontimeout (timers.js:436:11) \n    at tryOnTimeout (timers.js:300:5) \n    at listOnTimeout (timers.js:263:5) \n    at Timer.processTimers (timers.js:223:10) \n    at emitWarning (internal/process/promises.js:81:15) \n    at emitPromiseRejectionWarnings (internal/process/promises.js:120:9) \n    at process._tickCallback (internal/process/next_tick.js:69:34) \n error  [15:00:20.515] [warning][process] Error: Request Timeout after 30000ms \n    at /usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:355:15 \n    at Timeout.<anonymous> (/usr/share/kibana/node_modules/elasticsearch/src/lib/transport.js:384:7) \n    at ontimeout (timers.js:436:11) \n    at tryOnTimeout (timers.js:300:5) \n    at listOnTimeout (timers.js:263:5) \n    at Timer.processTimers (timers.js:223:10) \n  log   [15:00:20.908] [warning][reporting] Could not retrieve cluster settings, because of Request Timeout after 30000ms \n  log   [15:00:20.940] [warning][task_manager] PollError Request Timeout after 30000ms \n  log   [15:00:20.942] [warning][maps] Error scheduling telemetry task, received NotInitialized: Tasks cannot be scheduled until after task manager is initialized! \n  log   [15:00:20.943] [warning][telemetry] Error scheduling task, received NotInitialized: Tasks cannot be scheduled until after task manager is initialized! \n\n\nI want Kibana to start without failing.\n\nKibana.yml:\n\n    server.port: 5601\n    server.host: \"xxx.xx.xx.x\"\n    server.name: \"elk-log-kibana\"\n    elasticsearch.hosts: \"http://localhost:9200\"\n    server.basePath: \"/kibana\"\n    server.rewriteBasePath: true\n\n\nelasticsearch.yml:\n\n    cluster.name: elk-log-elasticsearch    \n    path.data: /var/lib/elasticsearch\n    path.logs: /var/log/elasticsearch\n    http.port: 9200\n    network.host: 0.0.0.0\n    discovery.seed_hosts: 127.0.0.1\n\n\nElasticsearch works fine:\n\ncurl -v http://localhost:9200 \n* About to connect() to localhost port 9200 (#0) \n*   Trying ::1... \n* Connected to localhost (::1) port 9200 (#0) \n> GET / HTTP/1.1 \n> User-Agent: curl/7.29.0 \n> Host: localhost:9200 \n> Accept: */* \n> \n< HTTP/1.1 200 OK","product":["kibana"],"versions":["7.6","7.1.1","7.29.0"],"lang":"en","answer_count":1,"view_count":8923,"accepted":false,"category":"04-performance-and-load","secondary_categories":["07-alerting-and-watcher","01-dashboard-authoring","13-observability-apm"],"sentiment":"negative","tags":["canvas","alerting","apm","license"]}
{"id":"so-56247909","source":"stackoverflow","source_url":"https://stackoverflow.com/questions/56247909/connecting-filebeat-to-elasticsearch","posted_at":"2019-05-22T00:37:36.000Z","captured_at":"2026-04-14T13:23:57.017Z","author":"Leroi","score":3,"kind":"question","title":"Connecting filebeat to elasticsearch","body":"I have been facing this problem throughout the day and I can't understand what I am doing wrong. I am a beginner in this and I followed a tutorial on how to get a complete setup between Filebeat, elasticsearch and kibana. Filebeat keeps on failing to connect to elasticsearch from the logs. Below is my code\n\nfilebeat.inputs:\n  - type: log\n  enabled: true\n  paths:    \n    - C:\\ProgramData\\Elastic\\Elasticsearch\\logs\\*.log\n\nfilebeat.config.modules:\n  path: ${path.config}/modules.d/*.yml\n  reload.enabled: false\n\nsetup.template.settings:\n  index.number_of_shards: 1\n\n\nsetup.kibana:\n\noutput.elasticsearch:\n  hosts: [\"localhost:9200\"]\n\nprocessors:\n  - add_host_metadata: ~\n  - add_cloud_metadata: ~\n\n\nHere is the log\n\n2019-05-22T02:28:02.352+0200    ERROR   pipeline/output.go:100  Failed to connect to backoff(elasticsearch(http://localhost:9200)): Connection marked as failed because the onConnect callback failed: This Beat requires the default distribution of Elasticsearch. Please upgrade to the default distribution of Elasticsearch from elastic.co, or downgrade to the oss-only distribution of beats\n2019-05-22T02:28:02.352+0200    INFO    pipeline/output.go:93   Attempting to reconnect to backoff(elasticsearch(http://localhost:9200)) with 62 reconnect attempt(s)\n2019-05-22T02:28:02.355+0200    INFO    elasticsearch/client.go:734 Attempting to connect to Elasticsearch version 5.5.0\n2019-05-22T02:28:15.560+0200    INFO    [monitoring]    log/log.go:144  Non-zero metrics in the last 30s    {\"monitoring\": {\"metrics\": {\"beat\":{\"cpu\":{\"system\":{\"ticks\":3781,\"time\":{\"ms\":62}},\"total\":{\"ticks\":6640,

File truncated at 1 MB.