-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Data - CSV #7372
Add Data - CSV #7372
Changes from 1 commit
32b6bec
f561883
98f9f53
0be2544
a11c13e
2c32d9f
95c80a0
d0f1f07
1ca3d27
91be043
ad349b5
bbd7187
89c3ecf
85be042
9083930
43e7eb0
7931f1a
c450934
f83c4fd
615560f
e39fc50
ad01828
d9aecd3
818cf60
f4517fb
e52125a
8c54187
996d649
26f63d3
ad56095
b1e1c63
0e7ffff
b48a284
7c57c34
7278cb3
3e39928
7e697cf
9b25c3b
4fb1118
8e94b1f
1b6a6f9
c63a5a2
ea71928
4317045
699ecfa
add7e81
889c9c1
7c0c6e2
34dcd7f
be93f5c
930a44d
7de50bf
168a173
00a5bb2
44e1e87
d646768
3fe7dd9
61dd02e
14799bf
70be789
2f32551
1f18bda
41dffa2
9851446
04d5662
96ca564
3f8cdab
6bd9dba
2ec8900
96cbe89
093cced
db305cb
335c82a
3462a5f
d42ac6e
f62ebc4
33dd6d6
07664a8
ee802ee
69d1660
d03818f
da5489d
f60cb04
6904664
6127251
48c719d
2b035f0
9aed9a2
a873c6f
590dcaa
f690c65
a54a1bb
5f4bc2c
2992d77
56b5082
6eb544f
e49d139
67691bd
3e8eab9
59d6e21
1b59516
7c3ac16
5c0af95
84755e5
c2c2946
22edba9
939a6f8
523b5d9
506c4bf
36b332f
5ab7548
99767bd
398747b
6f5afe8
2795724
bbb487e
943f38b
446e3b4
3b147e0
a78b771
9b7edf6
a00e033
753c112
6ad24bd
bf5367c
4246bc1
5608732
91a2ae1
ebfca08
960424b
9e18552
a9048e7
ef39e4f
9b4f8d9
b2a9a88
b2f30f9
715c4c1
3dae556
5b30304
ae36a71
5731e84
72cd3fb
422d906
2f789e2
df5672b
9e09d12
35be343
054d4f0
93ea5ed
f0e99c3
ff26c18
be72172
31ff932
0023839
a16adbe
ea63a8a
060fc99
e95f683
302d5fe
1c333e8
c04fbe6
1643607
aafa611
3f18f8e
c349a56
c821159
1926df9
40654d1
6ceca8b
19be188
602fff1
81d4865
89988b8
bfba35f
6dc9cc9
ab5e444
d50c452
fdfe7bf
c0b04ea
c36c17b
ceb7b4d
a625c2e
68865ae
81ea488
900dc78
6a9e3f8
d54aa52
5f3e629
777421d
c44c492
09f2784
3681f9a
1b8adbd
12e78b3
37e2c5a
1372cae
ee16d41
bc65d95
417d8a3
b85952f
05b198a
08427ee
b34460a
475913d
5918737
385db4e
57c391a
ed5e4e3
dbb1eea
d6bac79
e23f54a
a32364f
e11b270
271e78f
c080b3d
4140db8
f604b12
625ca75
02f24b1
8205f4b
526d5d4
2228e86
873ff3f
a2f1e17
001ff8b
900a4ee
3143c06
f237ec0
dc2eeb1
d04aea5
66880a3
b925554
94cc728
24a034e
46654c7
8c56411
0a95605
a8141c2
2bfb620
a091514
11da535
45e0fa6
c31f9ca
5a6adcb
4290e40
0065fba
c992d0c
b853d89
83595ae
ef3c49a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<kbn-management-app section="data"> | ||
<filebeat-wizard/> | ||
</kbn-management-app> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import routes from 'ui/routes'; | ||
import template from 'plugins/kibana/management/sections/indices/filebeat/index.html'; | ||
import 'plugins/kibana/management/sections/indices/filebeat/directives/filebeat_wizard'; | ||
|
||
|
||
routes.when('/management/data/filebeat', { | ||
template: template | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<kbn-management-app section="data"> | ||
<upload-wizard /> | ||
</kbn-management-app> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import management from 'ui/management'; | ||
import routes from 'ui/routes'; | ||
import template from 'plugins/kibana/management/sections/indices/upload/index.html'; | ||
import './directives/upload_wizard'; | ||
|
||
routes.when('/management/data/upload/', { | ||
template: template | ||
}); | ||
|
||
management.getSection('data').register('upload', { | ||
display: 'Upload CSV', | ||
order: 10, | ||
path: 'data/upload/' | ||
}); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,9 +234,8 @@ kbn-management-indices { | |
} | ||
} | ||
|
||
.nav-buttons { | ||
float:right; | ||
} | ||
.nav-buttons { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure you want to define this style here? Before it was confined to the |
||
float:right; | ||
} | ||
|
||
.kbn-settings-indices-create { | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import PluginsKibanaSettingsSectionsIndicesRefreshKibanaIndexProvider from 'plugins/kibana/settings/sections/indices/_refresh_kibana_index'; | ||
import RefreshKibanaIndexProvider from 'plugins/kibana/management/sections/indices/_refresh_kibana_index'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
import { keysToCamelCaseShallow, keysToSnakeCaseShallow } from '../../../plugins/kibana/common/lib/case_conversion'; | ||
import _ from 'lodash'; | ||
import angular from 'angular'; | ||
|
@@ -7,7 +7,7 @@ import chrome from 'ui/chrome'; | |
export default function IngestProvider($rootScope, $http, config, $q, Private, indexPatterns) { | ||
|
||
const ingestAPIPrefix = chrome.addBasePath('/api/kibana/ingest'); | ||
const refreshKibanaIndex = Private(PluginsKibanaSettingsSectionsIndicesRefreshKibanaIndexProvider); | ||
const refreshKibanaIndex = Private(RefreshKibanaIndexProvider); | ||
|
||
this.save = function (indexPattern, pipeline) { | ||
if (_.isEmpty(indexPattern)) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are your thoughts on making the route more specific, like csv? I am wondering if upload might be too generic. What if we allow uploading of data directories, snapshots, etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, my initial thought was that this wizard might handle additional data types like JSON files in the future, which is why I called it upload. But the more I think about it, we would probably have a totally different link for different data types, so I'll switch it to data/csv instead