Skip to content

Commit

Permalink
updating the saved search migration version
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm committed Feb 20, 2021
1 parent 0b20bf9 commit 46e41b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{"attributes":{"buildNum":9007199254740991,"defaultIndex":"aa870d60-6b08-11eb-9975-3f99fc65366d"},"coreMigrationVersion":"7.12.0","id":"7.12.0","migrationVersion":{"config":"7.9.0"},"references":[],"type":"config","updated_at":"2021-02-09T22:15:25.100Z","version":"Wzc1NiwxXQ=="}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[]}"},"title":"logstash_tsvb","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"logstash_tsvb\",\"type\":\"metrics\",\"aggs\":[],\"params\":{\"annotations\":[{\"fields\":\"response.raw\",\"template\":\"{{response.raw}}\",\"index_pattern\":\"logstash-*\",\"query_string\":{\"query\":\"response.raw :\\\"200\\\" \",\"language\":\"kuery\"},\"color\":\"#F00\",\"icon\":\"fa-bomb\",\"id\":\"41c07150-6bac-11eb-8d0e-a13b5d5dd28b\",\"ignore_global_filters\":1,\"ignore_panel_filters\":1,\"time_field\":\"@timestamp\"}],\"axis_formatter\":\"number\",\"axis_position\":\"left\",\"axis_scale\":\"normal\",\"default_index_pattern\":\"shakespeare\",\"default_timefield\":\"\",\"filter\":{\"language\":\"kuery\",\"query\":\"machine.os.raw :\\\"win 7\\\" \"},\"id\":\"61ca57f0-469d-11e7-af02-69e470af7417\",\"index_pattern\":\"logstash-*\",\"interval\":\"\",\"isModelInvalid\":false,\"max_bars\":60,\"series\":[{\"axis_position\":\"right\",\"chart_type\":\"line\",\"color\":\"#68BC00\",\"fill\":0.5,\"formatter\":\"number\",\"id\":\"61ca57f1-469d-11e7-af02-69e470af7417\",\"line_width\":1,\"metrics\":[{\"id\":\"61ca57f2-469d-11e7-af02-69e470af7417\",\"type\":\"count\"}],\"point_size\":1,\"separate_axis\":0,\"split_color_mode\":\"kibana\",\"split_mode\":\"everything\",\"stacked\":\"none\"}],\"show_grid\":1,\"show_legend\":1,\"time_field\":\"@timestamp\",\"tooltip_mode\":\"show_all\",\"type\":\"timeseries\"}}"},"coreMigrationVersion":"7.12.0","id":"71c142d0-6bac-11eb-9975-3f99fc65366d","migrationVersion":{"visualization":"7.12.0"},"references":[{"id":"c4fc3d50-6b21-11eb-9975-3f99fc65366d","name":"tag-c4fc3d50-6b21-11eb-9975-3f99fc65366d","type":"tag"}],"type":"visualization","updated_at":"2021-02-10T14:29:55.201Z","version":"WzEwNzAsMV0="}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"logstash_metrictable","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"logstash_metrictable\",\"type\":\"metric\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"filters\",\"params\":{\"filters\":[{\"input\":{\"query\":\"extension.raw :\\\"gif\\\" \",\"language\":\"kuery\"},\"label\":\"\"},{\"input\":{\"query\":\"extension.raw :\\\"png\\\" \",\"language\":\"kuery\"},\"label\":\"\"}]},\"schema\":\"group\"}],\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}}}"},"coreMigrationVersion":"7.12.0","id":"79e6d410-6bb7-11eb-9975-3f99fc65366d","migrationVersion":{"visualization":"7.12.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"},{"id":"c4fc3d50-6b21-11eb-9975-3f99fc65366d","name":"tag-c4fc3d50-6b21-11eb-9975-3f99fc65366d","type":"tag"}],"type":"visualization","updated_at":"2021-02-10T15:48:53.335Z","version":"WzE3NTMsMV0="}
{"attributes":{"columns":["response"],"description":"","hits":0,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"highlightAll\":true,\"version\":true,\"sort\":[{\"@timestamp\":\"desc\"}],\"query\":{\"query\":\"response.raw : \\\"503\\\" \",\"language\":\"kuery\"},\"fieldsFromSource\":[\"@message\",\"@message.raw\",\"@tags\",\"@tags.raw\",\"@timestamp\",\"_id\",\"_index\",\"_score\",\"_source\",\"_type\",\"agent\",\"agent.raw\",\"bytes\",\"clientip\",\"extension\",\"extension.raw\",\"geo.coordinates\",\"geo.dest\",\"geo.src\",\"geo.srcdest\",\"headings\",\"headings.raw\",\"host\",\"host.raw\",\"id\",\"index\",\"index.raw\",\"ip\",\"links\",\"links.raw\",\"machine.os\",\"machine.os.raw\",\"machine.ram\",\"memory\",\"meta.char\",\"meta.related\",\"meta.user.firstname\",\"meta.user.lastname\",\"nestedField.child\",\"phpmemory\",\"referer\",\"relatedContent.article:modified_time\",\"relatedContent.article:published_time\",\"relatedContent.article:section\",\"relatedContent.article:section.raw\",\"relatedContent.article:tag\",\"relatedContent.article:tag.raw\",\"relatedContent.og:description\",\"relatedContent.og:description.raw\",\"relatedContent.og:image\",\"relatedContent.og:image.raw\",\"relatedContent.og:image:height\",\"relatedContent.og:image:height.raw\",\"relatedContent.og:image:width\",\"relatedContent.og:image:width.raw\",\"relatedContent.og:site_name\",\"relatedContent.og:site_name.raw\",\"relatedContent.og:title\",\"relatedContent.og:title.raw\",\"relatedContent.og:type\",\"relatedContent.og:type.raw\",\"relatedContent.og:url\",\"relatedContent.og:url.raw\",\"relatedContent.twitter:card\",\"relatedContent.twitter:card.raw\",\"relatedContent.twitter:description\",\"relatedContent.twitter:description.raw\",\"relatedContent.twitter:image\",\"relatedContent.twitter:image.raw\",\"relatedContent.twitter:site\",\"relatedContent.twitter:site.raw\",\"relatedContent.twitter:title\",\"relatedContent.twitter:title.raw\",\"relatedContent.url\",\"relatedContent.url.raw\",\"request\",\"request.raw\",\"response\",\"response.raw\",\"spaces\",\"spaces.raw\",\"type\",\"url\",\"url.raw\",\"utc_time\",\"xss\",\"xss.raw\"],\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"pre712":false,"sort":[["@timestamp","desc"]],"title":"logstash_kql_search","version":1},"coreMigrationVersion":"7.12.0","id":"7b422f80-6b21-11eb-9975-3f99fc65366d","migrationVersion":{"search":"7.12.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"search","updated_at":"2021-02-10T21:34:10.614Z","version":"WzIwNzAsMV0="}
{"attributes":{"columns":["response"],"description":"","hits":0,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"highlightAll\":true,\"version\":true,\"sort\":[{\"@timestamp\":\"desc\"}],\"query\":{\"query\":\"response.raw : \\\"503\\\" \",\"language\":\"kuery\"},\"fieldsFromSource\":[\"@message\",\"@message.raw\",\"@tags\",\"@tags.raw\",\"@timestamp\",\"_id\",\"_index\",\"_score\",\"_source\",\"_type\",\"agent\",\"agent.raw\",\"bytes\",\"clientip\",\"extension\",\"extension.raw\",\"geo.coordinates\",\"geo.dest\",\"geo.src\",\"geo.srcdest\",\"headings\",\"headings.raw\",\"host\",\"host.raw\",\"id\",\"index\",\"index.raw\",\"ip\",\"links\",\"links.raw\",\"machine.os\",\"machine.os.raw\",\"machine.ram\",\"memory\",\"meta.char\",\"meta.related\",\"meta.user.firstname\",\"meta.user.lastname\",\"nestedField.child\",\"phpmemory\",\"referer\",\"relatedContent.article:modified_time\",\"relatedContent.article:published_time\",\"relatedContent.article:section\",\"relatedContent.article:section.raw\",\"relatedContent.article:tag\",\"relatedContent.article:tag.raw\",\"relatedContent.og:description\",\"relatedContent.og:description.raw\",\"relatedContent.og:image\",\"relatedContent.og:image.raw\",\"relatedContent.og:image:height\",\"relatedContent.og:image:height.raw\",\"relatedContent.og:image:width\",\"relatedContent.og:image:width.raw\",\"relatedContent.og:site_name\",\"relatedContent.og:site_name.raw\",\"relatedContent.og:title\",\"relatedContent.og:title.raw\",\"relatedContent.og:type\",\"relatedContent.og:type.raw\",\"relatedContent.og:url\",\"relatedContent.og:url.raw\",\"relatedContent.twitter:card\",\"relatedContent.twitter:card.raw\",\"relatedContent.twitter:description\",\"relatedContent.twitter:description.raw\",\"relatedContent.twitter:image\",\"relatedContent.twitter:image.raw\",\"relatedContent.twitter:site\",\"relatedContent.twitter:site.raw\",\"relatedContent.twitter:title\",\"relatedContent.twitter:title.raw\",\"relatedContent.url\",\"relatedContent.url.raw\",\"request\",\"request.raw\",\"response\",\"response.raw\",\"spaces\",\"spaces.raw\",\"type\",\"url\",\"url.raw\",\"utc_time\",\"xss\",\"xss.raw\"],\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"pre712":false,"sort":[["@timestamp","desc"]],"title":"logstash_kql_search","version":1},"coreMigrationVersion":"7.12.0","id":"7b422f80-6b21-11eb-9975-3f99fc65366d","migrationVersion":{"search":"7.9.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"}],"type":"search","updated_at":"2021-02-10T21:34:10.614Z","version":"WzIwNzAsMV0="}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[],\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.index\"}"},"title":"logstash_datatable","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"logstash_datatable\",\"type\":\"table\",\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"params\":{},\"schema\":\"metric\"},{\"id\":\"2\",\"enabled\":true,\"type\":\"date_histogram\",\"params\":{\"field\":\"@timestamp\",\"timeRange\":{\"from\":\"2015-09-19T19:09:22.561Z\",\"to\":\"2015-09-23T11:30:07.608Z\"},\"useNormalizedEsInterval\":true,\"scaleMetricValues\":false,\"interval\":\"auto\",\"drop_partials\":false,\"min_doc_count\":1,\"extended_bounds\":{}},\"schema\":\"bucket\"}],\"params\":{\"perPage\":10,\"showPartialRows\":false,\"showMetricsAtAllLevels\":false,\"showTotal\":false,\"showToolbar\":false,\"totalFunc\":\"sum\",\"percentageCol\":\"\"}}"},"coreMigrationVersion":"7.12.0","id":"7df63ea0-6bb3-11eb-9975-3f99fc65366d","migrationVersion":{"visualization":"7.12.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"kibanaSavedObjectMeta.searchSourceJSON.index","type":"index-pattern"},{"id":"c4fc3d50-6b21-11eb-9975-3f99fc65366d","name":"tag-c4fc3d50-6b21-11eb-9975-3f99fc65366d","type":"tag"}],"type":"visualization","updated_at":"2021-02-10T15:20:22.156Z","version":"WzE0NzMsMV0="}
{"attributes":{"description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\":{\"query\":\"\",\"language\":\"kuery\"},\"filter\":[{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":null,\"disabled\":false,\"key\":\"headings.raw\",\"negate\":false,\"params\":{\"query\":\"<h3>frank-l-culbertson-jr-</h5>\"},\"type\":\"phrase\",\"indexRefName\":\"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index\"},\"query\":{\"match_phrase\":{\"headings.raw\":\"<h3>frank-l-culbertson-jr-</h5>\"}}}]}"},"title":"logstash_vega","uiStateJSON":"{}","version":1,"visState":"{\"title\":\"logstash_vega\",\"type\":\"vega\",\"aggs\":[],\"params\":{\"spec\":\"{\\n/*\\n\\nWelcome to Vega visualizations. Here you can design your own dataviz from scratch using a declarative language called Vega, or its simpler form Vega-Lite. In Vega, you have the full control of what data is loaded, even from multiple sources, how that data is transformed, and what visual elements are used to show it. Use help icon to view Vega examples, tutorials, and other docs. Use the wrench icon to reformat this text, or to remove comments.\\n\\nThis example graph shows the document count in all indexes in the current time range. You might need to adjust the time filter in the upper right corner.\\n*/\\n\\n $schema: https://vega.github.io/schema/vega-lite/v4.json\\n title: Event counts from all indexes\\n\\n // Define the data source\\n data: {\\n url: {\\n/*\\nAn object instead of a string for the \\\"url\\\" param is treated as an Elasticsearch query. Anything inside this object is not part of the Vega language, but only understood by Kibana and Elasticsearch server. This query counts the number of documents per time interval, assuming you have a @timestamp field in your data.\\n\\nKibana has a special handling for the fields surrounded by \\\"%\\\". They are processed before the the query is sent to Elasticsearch. This way the query becomes context aware, and can use the time range and the dashboard filters.\\n*/\\n\\n // Apply dashboard context filters when set\\n %context%: true\\n // Filter the time picker (upper right corner) with this field\\n %timefield%: @timestamp\\n\\n/*\\nSee .search() documentation for : https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search\\n*/\\n\\n // Which index to search\\n index: logstash-*\\n // Aggregate data by the time field into time buckets, counting the number of documents in each bucket.\\n body: {\\n aggs: {\\n time_buckets: {\\n date_histogram: {\\n // Use date histogram aggregation on @timestamp field\\n field: @timestamp\\n // The interval value will depend on the daterange picker (true), or use an integer to set an approximate bucket count\\n interval: {%autointerval%: true}\\n // Make sure we get an entire range, even if it has no data\\n extended_bounds: {\\n // Use the current time range's start and end\\n min: {%timefilter%: \\\"min\\\"}\\n max: {%timefilter%: \\\"max\\\"}\\n }\\n // Use this for linear (e.g. line, area) graphs. Without it, empty buckets will not show up\\n min_doc_count: 0\\n }\\n }\\n }\\n // Speed up the response by only including aggregation results\\n size: 0\\n }\\n }\\n/*\\nElasticsearch will return results in this format:\\n\\naggregations: {\\n time_buckets: {\\n buckets: [\\n {\\n key_as_string: 2015-11-30T22:00:00.000Z\\n key: 1448920800000\\n doc_count: 0\\n },\\n {\\n key_as_string: 2015-11-30T23:00:00.000Z\\n key: 1448924400000\\n doc_count: 0\\n }\\n ...\\n ]\\n }\\n}\\n\\nFor our graph, we only need the list of bucket values. Use the format.property to discard everything else.\\n*/\\n format: {property: \\\"aggregations.time_buckets.buckets\\\"}\\n }\\n\\n // \\\"mark\\\" is the graphics element used to show our data. Other mark values are: area, bar, circle, line, point, rect, rule, square, text, and tick. See https://vega.github.io/vega-lite/docs/mark.html\\n mark: line\\n\\n // \\\"encoding\\\" tells the \\\"mark\\\" what data to use and in what way. See https://vega.github.io/vega-lite/docs/encoding.html\\n encoding: {\\n x: {\\n // The \\\"key\\\" value is the timestamp in milliseconds. Use it for X axis.\\n field: key\\n type: temporal\\n axis: {title: false} // Customize X axis format\\n }\\n y: {\\n // The \\\"doc_count\\\" is the count per bucket. Use it for Y axis.\\n field: doc_count\\n type: quantitative\\n axis: {title: \\\"Document count\\\"}\\n }\\n }\\n}\\n\"}}"},"coreMigrationVersion":"7.12.0","id":"8323ae40-6bad-11eb-9975-3f99fc65366d","migrationVersion":{"visualization":"7.12.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index","type":"index-pattern"},{"id":"c4fc3d50-6b21-11eb-9975-3f99fc65366d","name":"tag-c4fc3d50-6b21-11eb-9975-3f99fc65366d","type":"tag"}],"type":"visualization","updated_at":"2021-02-10T14:37:33.863Z","version":"WzExODIsMV0="}
{"attributes":{"numLinks":4,"numVertices":5,"title":"logstash_graph","version":1,"wsState":"\"{\\\"selectedFields\\\":[{\\\"name\\\":\\\"machine.os.raw\\\",\\\"hopSize\\\":5,\\\"lastValidHopSize\\\":5,\\\"color\\\":\\\"#B9A888\\\",\\\"selected\\\":true,\\\"iconClass\\\":\\\"fa-folder-open-o\\\"},{\\\"name\\\":\\\"response.raw\\\",\\\"hopSize\\\":5,\\\"lastValidHopSize\\\":5,\\\"color\\\":\\\"#D36086\\\",\\\"selected\\\":true,\\\"iconClass\\\":\\\"fa-folder-open-o\\\"}],\\\"blocklist\\\":[],\\\"vertices\\\":[{\\\"x\\\":285.5395697327919,\\\"y\\\":299.71182582246973,\\\"label\\\":\\\"503\\\",\\\"color\\\":\\\"#D36086\\\",\\\"field\\\":\\\"response.raw\\\",\\\"term\\\":\\\"503\\\",\\\"parent\\\":null,\\\"size\\\":15},{\\\"x\\\":388.234371304042,\\\"y\\\":350.79579803541986,\\\"label\\\":\\\"win 7\\\",\\\"color\\\":\\\"#B9A888\\\",\\\"field\\\":\\\"machine.os.raw\\\",\\\"term\\\":\\\"win 7\\\",\\\"parent\\\":null,\\\"size\\\":15},{\\\"x\\\":409.1233500594299,\\\"y\\\":187.2321436567254,\\\"label\\\":\\\"win 8\\\",\\\"color\\\":\\\"#B9A888\\\",\\\"field\\\":\\\"machine.os.raw\\\",\\\"term\\\":\\\"win 8\\\",\\\"parent\\\":null,\\\"size\\\":15},{\\\"x\\\":519.2307734118104,\\\"y\\\":374.25039109007054,\\\"label\\\":\\\"ios\\\",\\\"color\\\":\\\"#B9A888\\\",\\\"field\\\":\\\"machine.os.raw\\\",\\\"term\\\":\\\"ios\\\",\\\"parent\\\":null,\\\"size\\\":15},{\\\"x\\\":480.1706387140209,\\\"y\\\":272.4949508407397,\\\"label\\\":\\\"200\\\",\\\"color\\\":\\\"#D36086\\\",\\\"field\\\":\\\"response.raw\\\",\\\"term\\\":\\\"200\\\",\\\"parent\\\":null,\\\"size\\\":15}],\\\"links\\\":[{\\\"weight\\\":0.12742812388529048,\\\"width\\\":10,\\\"source\\\":4,\\\"target\\\":1},{\\\"weight\\\":0.12532888854846175,\\\"width\\\":9.835261222340646,\\\"source\\\":4,\\\"target\\\":3},{\\\"weight\\\":0.007873436740817282,\\\"width\\\":2,\\\"source\\\":2,\\\"target\\\":4},{\\\"weight\\\":0.0003088678887877383,\\\"width\\\":2,\\\"source\\\":1,\\\"target\\\":0}],\\\"urlTemplates\\\":[{\\\"url\\\":\\\"/app/discover#/?_a=(columns%3A!(_source)%2Cindex%3Aaf4e5770-6b1e-11eb-9975-3f99fc65366d%2Cinterval%3Aauto%2Cquery%3A(language%3Akuery%2Cquery%3A{{gquery}})%2Csort%3A!(_score%2Cdesc))\\\",\\\"description\\\":\\\"Raw documents\\\",\\\"isDefault\\\":true,\\\"encoderID\\\":\\\"kql-loose\\\"}],\\\"exploreControls\\\":{\\\"useSignificance\\\":true,\\\"sampleSize\\\":2000,\\\"timeoutMillis\\\":5000,\\\"maxValuesPerDoc\\\":1,\\\"minDocCount\\\":3},\\\"indexPatternRefName\\\":\\\"indexPattern_0\\\"}\""},"coreMigrationVersion":"7.12.0","id":"83d1c6c0-6be8-11eb-9975-3f99fc65366d","migrationVersion":{"graph-workspace":"7.11.0"},"references":[{"id":"af4e5770-6b1e-11eb-9975-3f99fc65366d","name":"indexPattern_0","type":"index-pattern"}],"type":"graph-workspace","updated_at":"2021-02-10T21:39:55.312Z","version":"WzIzNDAsMV0="}
Expand Down

0 comments on commit 46e41b9

Please sign in to comment.