splunk-sdk-ruby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG.md +160 -0
  2. data/Gemfile +8 -0
  3. data/LICENSE +177 -0
  4. data/README.md +310 -0
  5. data/Rakefile +40 -0
  6. data/examples/1_connect.rb +51 -0
  7. data/examples/2_manage.rb +103 -0
  8. data/examples/3_blocking_searches.rb +82 -0
  9. data/examples/4_asynchronous_searches.rb +79 -0
  10. data/examples/5_stream_data_to_splunk.rb +79 -0
  11. data/lib/splunk-sdk-ruby.rb +47 -0
  12. data/lib/splunk-sdk-ruby/ambiguous_entity_reference.rb +28 -0
  13. data/lib/splunk-sdk-ruby/atomfeed.rb +323 -0
  14. data/lib/splunk-sdk-ruby/collection.rb +417 -0
  15. data/lib/splunk-sdk-ruby/collection/apps.rb +35 -0
  16. data/lib/splunk-sdk-ruby/collection/case_insensitive_collection.rb +58 -0
  17. data/lib/splunk-sdk-ruby/collection/configuration_file.rb +50 -0
  18. data/lib/splunk-sdk-ruby/collection/configurations.rb +80 -0
  19. data/lib/splunk-sdk-ruby/collection/jobs.rb +136 -0
  20. data/lib/splunk-sdk-ruby/collection/messages.rb +51 -0
  21. data/lib/splunk-sdk-ruby/context.rb +522 -0
  22. data/lib/splunk-sdk-ruby/entity.rb +260 -0
  23. data/lib/splunk-sdk-ruby/entity/index.rb +191 -0
  24. data/lib/splunk-sdk-ruby/entity/job.rb +339 -0
  25. data/lib/splunk-sdk-ruby/entity/message.rb +36 -0
  26. data/lib/splunk-sdk-ruby/entity/saved_search.rb +71 -0
  27. data/lib/splunk-sdk-ruby/entity/stanza.rb +45 -0
  28. data/lib/splunk-sdk-ruby/entity_not_ready.rb +26 -0
  29. data/lib/splunk-sdk-ruby/illegal_operation.rb +27 -0
  30. data/lib/splunk-sdk-ruby/namespace.rb +239 -0
  31. data/lib/splunk-sdk-ruby/resultsreader.rb +716 -0
  32. data/lib/splunk-sdk-ruby/service.rb +339 -0
  33. data/lib/splunk-sdk-ruby/splunk_http_error.rb +49 -0
  34. data/lib/splunk-sdk-ruby/synonyms.rb +50 -0
  35. data/lib/splunk-sdk-ruby/version.rb +27 -0
  36. data/lib/splunk-sdk-ruby/xml_shim.rb +117 -0
  37. data/splunk-sdk-ruby.gemspec +27 -0
  38. data/test/atom_test_data.rb +472 -0
  39. data/test/data/atom/atom_feed_with_message.xml +19 -0
  40. data/test/data/atom/atom_with_feed.xml +99 -0
  41. data/test/data/atom/atom_with_several_entries.xml +101 -0
  42. data/test/data/atom/atom_with_simple_entries.xml +30 -0
  43. data/test/data/atom/atom_without_feed.xml +248 -0
  44. data/test/data/export/4.2.5/export_results.xml +88 -0
  45. data/test/data/export/4.3.5/export_results.xml +87 -0
  46. data/test/data/export/5.0.1/export_results.xml +78 -0
  47. data/test/data/export/5.0.1/nonreporting.xml +232 -0
  48. data/test/data/results/4.2.5/results-empty.xml +0 -0
  49. data/test/data/results/4.2.5/results-preview.xml +255 -0
  50. data/test/data/results/4.2.5/results.xml +336 -0
  51. data/test/data/results/4.3.5/results-empty.xml +0 -0
  52. data/test/data/results/4.3.5/results-preview.xml +1057 -0
  53. data/test/data/results/4.3.5/results.xml +626 -0
  54. data/test/data/results/5.0.2/results-empty.xml +1 -0
  55. data/test/data/results/5.0.2/results-empty_preview.xml +1 -0
  56. data/test/data/results/5.0.2/results-preview.xml +448 -0
  57. data/test/data/results/5.0.2/results.xml +501 -0
  58. data/test/export_test_data.json +360 -0
  59. data/test/resultsreader_test_data.json +1119 -0
  60. data/test/services.server.info.xml +43 -0
  61. data/test/services.xml +111 -0
  62. data/test/test_atomfeed.rb +71 -0
  63. data/test/test_collection.rb +278 -0
  64. data/test/test_configuration_file.rb +124 -0
  65. data/test/test_context.rb +119 -0
  66. data/test/test_entity.rb +95 -0
  67. data/test/test_helper.rb +250 -0
  68. data/test/test_http_error.rb +52 -0
  69. data/test/test_index.rb +91 -0
  70. data/test/test_jobs.rb +319 -0
  71. data/test/test_messages.rb +17 -0
  72. data/test/test_namespace.rb +188 -0
  73. data/test/test_restarts.rb +49 -0
  74. data/test/test_resultsreader.rb +106 -0
  75. data/test/test_roles.rb +41 -0
  76. data/test/test_saved_searches.rb +119 -0
  77. data/test/test_service.rb +65 -0
  78. data/test/test_users.rb +33 -0
  79. data/test/test_xml_shim.rb +28 -0
  80. data/test/testfile.txt +1 -0
  81. metadata +200 -0
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
3
+ <?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
4
+ <feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
5
+ <title>roles</title>
6
+ <id>https://localhost:8089/services/authorization/roles</id>
7
+ <updated>2013-01-22T08:52:24-08:00</updated>
8
+ <generator build="146385" version="5.0.2"/>
9
+ <author>
10
+ <name>Splunk</name>
11
+ </author>
12
+ <link href="/services/authorization/roles/_new" rel="create"/>
13
+ <opensearch:totalResults>0</opensearch:totalResults>
14
+ <opensearch:itemsPerPage>30</opensearch:itemsPerPage>
15
+ <opensearch:startIndex>0</opensearch:startIndex>
16
+ <s:messages>
17
+ <s:msg type="WARN">This role will be disabled after the Enterprise Trial License expires</s:msg>
18
+ </s:messages>
19
+ </feed>
@@ -0,0 +1,99 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
3
+ <?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
4
+ <feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
5
+ <title>localapps</title>
6
+ <id>https://localhost:8089/servicesNS/nobody/system/apps/local</id>
7
+ <updated>2012-12-19T11:07:48-08:00</updated>
8
+ <generator build="144175" version="5.0.2"/>
9
+ <author>
10
+ <name>Splunk</name>
11
+ </author>
12
+ <link href="/servicesNS/nobody/system/apps/local/_new" rel="create"/>
13
+ <link href="/servicesNS/nobody/system/apps/local/_reload" rel="_reload"/>
14
+ <opensearch:totalResults>1</opensearch:totalResults>
15
+ <opensearch:itemsPerPage>30</opensearch:itemsPerPage>
16
+ <opensearch:startIndex>0</opensearch:startIndex>
17
+ <s:messages/>
18
+ <entry>
19
+ <title>gettingstarted</title>
20
+ <id>https://localhost:8089/servicesNS/nobody/system/apps/local/gettingstarted</id>
21
+ <updated>2012-12-19T11:07:48-08:00</updated>
22
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted" rel="alternate"/>
23
+ <author>
24
+ <name>nobody</name>
25
+ </author>
26
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted" rel="list"/>
27
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted/_reload" rel="_reload"/>
28
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted" rel="edit"/>
29
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted" rel="remove"/>
30
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted/disable" rel="disable"/>
31
+ <link href="/servicesNS/nobody/system/apps/local/gettingstarted/package" rel="package"/>
32
+ <content type="text/xml">
33
+ <s:dict>
34
+ <s:key name="author">Splunk</s:key>
35
+ <s:key name="check_for_updates">1</s:key>
36
+ <s:key name="configured">1</s:key>
37
+ <s:key name="description">Get started with Splunk. This app introduces you to many of Splunk's features. You'll learn how to use Splunk to index data, search and investigate, add knowledge, monitor and alert, report and analyze.</s:key>
38
+ <s:key name="disabled">0</s:key>
39
+ <s:key name="eai:acl">
40
+ <s:dict>
41
+ <s:key name="app">system</s:key>
42
+ <s:key name="can_change_perms">1</s:key>
43
+ <s:key name="can_list">1</s:key>
44
+ <s:key name="can_share_app">1</s:key>
45
+ <s:key name="can_share_global">1</s:key>
46
+ <s:key name="can_share_user">0</s:key>
47
+ <s:key name="can_write">1</s:key>
48
+ <s:key name="modifiable">1</s:key>
49
+ <s:key name="owner">nobody</s:key>
50
+ <s:key name="perms">
51
+ <s:dict>
52
+ <s:key name="read">
53
+ <s:list>
54
+ <s:item>*</s:item>
55
+ </s:list>
56
+ </s:key>
57
+ <s:key name="write">
58
+ <s:list>
59
+ <s:item>power</s:item>
60
+ </s:list>
61
+ </s:key>
62
+ </s:dict>
63
+ </s:key>
64
+ <s:key name="removable">0</s:key>
65
+ <s:key name="sharing">app</s:key>
66
+ </s:dict>
67
+ </s:key>
68
+ <s:key name="eai:attributes">
69
+ <s:dict>
70
+ <s:key name="optionalFields">
71
+ <s:list>
72
+ <s:item>author</s:item>
73
+ <s:item>check_for_updates</s:item>
74
+ <s:item>configured</s:item>
75
+ <s:item>description</s:item>
76
+ <s:item>label</s:item>
77
+ <s:item>manageable</s:item>
78
+ <s:item>version</s:item>
79
+ <s:item>visible</s:item>
80
+ </s:list>
81
+ </s:key>
82
+ <s:key name="requiredFields">
83
+ <s:list/>
84
+ </s:key>
85
+ <s:key name="wildcardFields">
86
+ <s:list/>
87
+ </s:key>
88
+ </s:dict>
89
+ </s:key>
90
+ <s:key name="label">Getting started</s:key>
91
+ <s:key name="manageable">1</s:key>
92
+ <s:key name="state_change_requires_restart">0</s:key>
93
+ <s:key name="version">1.0</s:key>
94
+ <s:key name="visible">1</s:key>
95
+ </s:dict>
96
+ </content>
97
+ </entry>
98
+ </feed>
99
+
@@ -0,0 +1,101 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
3
+ <?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
4
+ <feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
5
+ <title>localapps</title>
6
+ <id>https://localhost:8089/services/apps/local</id>
7
+ <updated>2012-12-19T15:27:58-08:00</updated>
8
+ <generator version="140437"/>
9
+ <author>
10
+ <name>Splunk</name>
11
+ </author>
12
+ <link href="/services/apps/local/_new" rel="create"/>
13
+ <link href="/services/apps/local/_reload" rel="_reload"/>
14
+ <opensearch:totalResults>12</opensearch:totalResults>
15
+ <opensearch:itemsPerPage>30</opensearch:itemsPerPage>
16
+ <opensearch:startIndex>0</opensearch:startIndex>
17
+ <s:messages/>
18
+ <entry>
19
+ <title>gettingstarted</title>
20
+ <id>https://localhost:8089/services/apps/local/gettingstarted</id>
21
+ <updated>2012-12-19T15:27:58-08:00</updated>
22
+ <link href="/services/apps/local/gettingstarted" rel="alternate"/>
23
+ <author>
24
+ <name>system</name>
25
+ </author>
26
+ <link href="/services/apps/local/gettingstarted" rel="list"/>
27
+ <link href="/services/apps/local/gettingstarted/_reload" rel="_reload"/>
28
+ <link href="/services/apps/local/gettingstarted" rel="edit"/>
29
+ <link href="/services/apps/local/gettingstarted" rel="remove"/>
30
+ <link href="/services/apps/local/gettingstarted/disable" rel="disable"/>
31
+ <link href="/services/apps/local/gettingstarted/package" rel="package"/>
32
+ <content type="text/xml">
33
+ <s:dict>
34
+ <s:key name="author">Splunk</s:key>
35
+ <s:key name="check_for_updates">1</s:key>
36
+ <s:key name="configured">1</s:key>
37
+ <s:key name="description">Get started with Splunk. This app introduces you to many of Splunk's features. You'll learn how to use Splunk to index data, search and investigate, add knowledge, monitor and alert, report and analyze.</s:key>
38
+ <s:key name="disabled">0</s:key>
39
+ <s:key name="eai:acl"><s:dict><s:key name="app"></s:key><s:key name="can_change_perms">1</s:key><s:key name="can_list">1</s:key><s:key name="can_share_app">1</s:key><s:key name="can_share_global">1</s:key><s:key name="can_share_user">0</s:key><s:key name="can_write">1</s:key><s:key name="modifiable">1</s:key><s:key name="owner">system</s:key><s:key name="perms"><s:dict><s:key name="read"><s:list><s:item>*</s:item></s:list></s:key><s:key name="write"><s:list><s:item>power</s:item></s:list></s:key></s:dict></s:key><s:key name="removable">0</s:key><s:key name="sharing">app</s:key></s:dict></s:key>
40
+ <s:key name="label">Getting started</s:key>
41
+ <s:key name="manageable">0</s:key>
42
+ <s:key name="state_change_requires_restart">0</s:key>
43
+ <s:key name="version">1.0</s:key>
44
+ <s:key name="visible">1</s:key>
45
+ </s:dict>
46
+ </content>
47
+ </entry>
48
+ <entry>
49
+ <title>launcher</title>
50
+ <id>https://localhost:8089/services/apps/local/launcher</id>
51
+ <updated>2012-12-19T15:27:58-08:00</updated>
52
+ <link href="/services/apps/local/launcher" rel="alternate"/>
53
+ <author>
54
+ <name>system</name>
55
+ </author>
56
+ <link href="/services/apps/local/launcher" rel="list"/>
57
+ <link href="/services/apps/local/launcher/_reload" rel="_reload"/>
58
+ <link href="/services/apps/local/launcher" rel="edit"/>
59
+ <link href="/services/apps/local/launcher" rel="remove"/>
60
+ <link href="/services/apps/local/launcher/package" rel="package"/>
61
+ <content type="text/xml">
62
+ <s:dict>
63
+ <s:key name="check_for_updates">1</s:key>
64
+ <s:key name="configured">1</s:key>
65
+ <s:key name="disabled">0</s:key>
66
+ <s:key name="eai:acl"><s:dict><s:key name="app"></s:key><s:key name="can_change_perms">1</s:key><s:key name="can_list">1</s:key><s:key name="can_share_app">1</s:key><s:key name="can_share_global">1</s:key><s:key name="can_share_user">0</s:key><s:key name="can_write">1</s:key><s:key name="modifiable">1</s:key><s:key name="owner">system</s:key><s:key name="perms"><s:dict><s:key name="read"><s:list><s:item>*</s:item></s:list></s:key><s:key name="write"><s:list><s:item>power</s:item></s:list></s:key></s:dict></s:key><s:key name="removable">0</s:key><s:key name="sharing">app</s:key></s:dict></s:key>
67
+ <s:key name="label">Home</s:key>
68
+ <s:key name="manageable">0</s:key>
69
+ <s:key name="state_change_requires_restart">0</s:key>
70
+ <s:key name="visible">1</s:key>
71
+ </s:dict>
72
+ </content>
73
+ </entry>
74
+ <entry>
75
+ <title>learned</title>
76
+ <id>https://localhost:8089/services/apps/local/learned</id>
77
+ <updated>2012-12-19T15:27:58-08:00</updated>
78
+ <link href="/services/apps/local/learned" rel="alternate"/>
79
+ <author>
80
+ <name>system</name>
81
+ </author>
82
+ <link href="/services/apps/local/learned" rel="list"/>
83
+ <link href="/services/apps/local/learned/_reload" rel="_reload"/>
84
+ <link href="/services/apps/local/learned" rel="edit"/>
85
+ <link href="/services/apps/local/learned" rel="remove"/>
86
+ <link href="/services/apps/local/learned/disable" rel="disable"/>
87
+ <link href="/services/apps/local/learned/package" rel="package"/>
88
+ <content type="text/xml">
89
+ <s:dict>
90
+ <s:key name="check_for_updates">1</s:key>
91
+ <s:key name="configured">0</s:key>
92
+ <s:key name="disabled">0</s:key>
93
+ <s:key name="eai:acl"><s:dict><s:key name="app"></s:key><s:key name="can_change_perms">1</s:key><s:key name="can_list">1</s:key><s:key name="can_share_app">1</s:key><s:key name="can_share_global">1</s:key><s:key name="can_share_user">0</s:key><s:key name="can_write">1</s:key><s:key name="modifiable">1</s:key><s:key name="owner">system</s:key><s:key name="perms"><s:dict><s:key name="read"><s:list><s:item>*</s:item></s:list></s:key><s:key name="write"><s:list><s:item>*</s:item></s:list></s:key></s:dict></s:key><s:key name="removable">0</s:key><s:key name="sharing">app</s:key></s:dict></s:key>
94
+ <s:key name="label">learned</s:key>
95
+ <s:key name="manageable">1</s:key>
96
+ <s:key name="state_change_requires_restart">0</s:key>
97
+ <s:key name="visible">0</s:key>
98
+ </s:dict>
99
+ </content>
100
+ </entry>
101
+ </feed>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
3
+ <?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
4
+ <feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest">
5
+ <title>services</title>
6
+ <id>https://localhost:8089/services/</id>
7
+ <updated>2012-12-20T09:48:01-08:00</updated>
8
+ <generator version="140437"/>
9
+ <author>
10
+ <name>Splunk</name>
11
+ </author>
12
+ <entry>
13
+ <title>alerts</title>
14
+ <id>https://localhost:8089/services/alerts</id>
15
+ <updated>2012-12-20T09:48:01-08:00</updated>
16
+ <link href="/services/alerts" rel="alternate"/>
17
+ </entry>
18
+ <entry>
19
+ <title>apps</title>
20
+ <id>https://localhost:8089/services/apps</id>
21
+ <updated>2012-12-20T09:48:01-08:00</updated>
22
+ <link href="/services/apps" rel="alternate"/>
23
+ </entry>
24
+ <entry>
25
+ <title>auth</title>
26
+ <id>https://localhost:8089/services/auth</id>
27
+ <updated>2012-12-20T09:48:01-08:00</updated>
28
+ <link href="/services/auth" rel="alternate"/>
29
+ </entry>
30
+ </feed>
@@ -0,0 +1,248 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
3
+ <?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
4
+ <entry xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
5
+ <title>| metadata type=sources | search totalCount&gt;0 | rename totalCount as Count recentTime as "Last Update" | table source Count "Last Update" | fieldformat Count=tostring(Count, "commas") | fieldformat "Last Update"=strftime('Last Update', "%c")</title>
6
+ <id>https://localhost:8089/services/search/jobs/rt_1355944187.129</id>
7
+ <updated>2012-12-19T11:09:52.000-08:00</updated>
8
+ <link href="/services/search/jobs/rt_1355944187.129" rel="alternate"/>
9
+ <published>2012-12-19T11:09:47.000-08:00</published>
10
+ <link href="/services/search/jobs/rt_1355944187.129/search.log" rel="search.log"/>
11
+ <link href="/services/search/jobs/rt_1355944187.129/events" rel="events"/>
12
+ <link href="/services/search/jobs/rt_1355944187.129/results" rel="results"/>
13
+ <link href="/services/search/jobs/rt_1355944187.129/results_preview" rel="results_preview"/>
14
+ <link href="/services/search/jobs/rt_1355944187.129/timeline" rel="timeline"/>
15
+ <link href="/services/search/jobs/rt_1355944187.129/summary" rel="summary"/>
16
+ <link href="/services/search/jobs/rt_1355944187.129/control" rel="control"/>
17
+ <author>
18
+ <name>admin</name>
19
+ </author>
20
+ <content type="text/xml">
21
+ <s:dict>
22
+ <s:key name="cursorTime">1969-12-31T16:00:00.000-08:00</s:key>
23
+ <s:key name="delegate"></s:key>
24
+ <s:key name="diskUsage">49152</s:key>
25
+ <s:key name="dispatchState">RUNNING</s:key>
26
+ <s:key name="doneProgress">1.00000</s:key>
27
+ <s:key name="dropCount">0</s:key>
28
+ <s:key name="earliestTime">1969-12-31T16:00:00.000-08:00</s:key>
29
+ <s:key name="eventAvailableCount">0</s:key>
30
+ <s:key name="eventCount">0</s:key>
31
+ <s:key name="eventFieldCount">0</s:key>
32
+ <s:key name="eventIsStreaming">1</s:key>
33
+ <s:key name="eventIsTruncated">1</s:key>
34
+ <s:key name="eventSearch"></s:key>
35
+ <s:key name="eventSorting">none</s:key>
36
+ <s:key name="isDone">0</s:key>
37
+ <s:key name="isFailed">0</s:key>
38
+ <s:key name="isFinalized">0</s:key>
39
+ <s:key name="isPaused">0</s:key>
40
+ <s:key name="isPreviewEnabled">1</s:key>
41
+ <s:key name="isRealTimeSearch">1</s:key>
42
+ <s:key name="isRemoteTimeline">0</s:key>
43
+ <s:key name="isSaved">0</s:key>
44
+ <s:key name="isSavedSearch">0</s:key>
45
+ <s:key name="isZombie">0</s:key>
46
+ <s:key name="keywords"></s:key>
47
+ <s:key name="label"></s:key>
48
+ <s:key name="latestTime">1969-12-31T16:00:00.000-08:00</s:key>
49
+ <s:key name="meanPreviewPeriod">1.708000</s:key>
50
+ <s:key name="numPreviews">3</s:key>
51
+ <s:key name="pid">11902</s:key>
52
+ <s:key name="priority">5</s:key>
53
+ <s:key name="remoteSearch">metadata gather=false type=sources update_period=0</s:key>
54
+ <s:key name="reportSearch">metadata type=sources | search totalCount&gt;0 | rename totalCount as Count recentTime as "Last Update" | table source Count "Last Update" </s:key>
55
+ <s:key name="resultCount">0</s:key>
56
+ <s:key name="resultIsStreaming">0</s:key>
57
+ <s:key name="resultPreviewCount">5</s:key>
58
+ <s:key name="runDuration">5.124000</s:key>
59
+ <s:key name="scanCount">0</s:key>
60
+ <s:key name="sid">rt_1355944187.129</s:key>
61
+ <s:key name="statusBuckets">0</s:key>
62
+ <s:key name="ttl">599</s:key>
63
+ <s:key name="performance">
64
+ <s:dict>
65
+ <s:key name="command.metadata">
66
+ <s:dict>
67
+ <s:key name="duration_secs">4.995000</s:key>
68
+ <s:key name="invocations">9</s:key>
69
+ <s:key name="input_count">0</s:key>
70
+ <s:key name="output_count">6</s:key>
71
+ </s:dict>
72
+ </s:key>
73
+ <s:key name="command.metadata.execute_input">
74
+ <s:dict>
75
+ <s:key name="duration_secs">0.009000</s:key>
76
+ <s:key name="invocations">9</s:key>
77
+ </s:dict>
78
+ </s:key>
79
+ <s:key name="dispatch.check_disk_usage">
80
+ <s:dict>
81
+ <s:key name="duration_secs">0.001000</s:key>
82
+ <s:key name="invocations">1</s:key>
83
+ </s:dict>
84
+ </s:key>
85
+ <s:key name="dispatch.createProviderQueue">
86
+ <s:dict>
87
+ <s:key name="duration_secs">0.005000</s:key>
88
+ <s:key name="invocations">1</s:key>
89
+ </s:dict>
90
+ </s:key>
91
+ <s:key name="dispatch.evaluate">
92
+ <s:dict>
93
+ <s:key name="duration_secs">0.028000</s:key>
94
+ <s:key name="invocations">1</s:key>
95
+ </s:dict>
96
+ </s:key>
97
+ <s:key name="dispatch.evaluate.fieldformat">
98
+ <s:dict>
99
+ <s:key name="duration_secs">0.002000</s:key>
100
+ <s:key name="invocations">2</s:key>
101
+ </s:dict>
102
+ </s:key>
103
+ <s:key name="dispatch.evaluate.metadata">
104
+ <s:dict>
105
+ <s:key name="duration_secs">0.003000</s:key>
106
+ <s:key name="invocations">1</s:key>
107
+ </s:dict>
108
+ </s:key>
109
+ <s:key name="dispatch.evaluate.rename">
110
+ <s:dict>
111
+ <s:key name="duration_secs">0.001000</s:key>
112
+ <s:key name="invocations">1</s:key>
113
+ </s:dict>
114
+ </s:key>
115
+ <s:key name="dispatch.evaluate.search">
116
+ <s:dict>
117
+ <s:key name="duration_secs">0.021000</s:key>
118
+ <s:key name="invocations">1</s:key>
119
+ </s:dict>
120
+ </s:key>
121
+ <s:key name="dispatch.evaluate.table">
122
+ <s:dict>
123
+ <s:key name="duration_secs">0.001000</s:key>
124
+ <s:key name="invocations">1</s:key>
125
+ </s:dict>
126
+ </s:key>
127
+ <s:key name="dispatch.fetch">
128
+ <s:dict>
129
+ <s:key name="duration_secs">4.996000</s:key>
130
+ <s:key name="invocations">9</s:key>
131
+ </s:dict>
132
+ </s:key>
133
+ <s:key name="dispatch.preview">
134
+ <s:dict>
135
+ <s:key name="duration_secs">0.088000</s:key>
136
+ <s:key name="invocations">3</s:key>
137
+ </s:dict>
138
+ </s:key>
139
+ <s:key name="dispatch.preview.command.rename">
140
+ <s:dict>
141
+ <s:key name="duration_secs">0.004000</s:key>
142
+ <s:key name="invocations">3</s:key>
143
+ <s:key name="input_count">15</s:key>
144
+ <s:key name="output_count">15</s:key>
145
+ </s:dict>
146
+ </s:key>
147
+ <s:key name="dispatch.preview.command.search">
148
+ <s:dict>
149
+ <s:key name="duration_secs">0.057000</s:key>
150
+ <s:key name="invocations">3</s:key>
151
+ <s:key name="input_count">15</s:key>
152
+ <s:key name="output_count">15</s:key>
153
+ </s:dict>
154
+ </s:key>
155
+ <s:key name="dispatch.preview.command.search.filter">
156
+ <s:dict>
157
+ <s:key name="duration_secs">0.003000</s:key>
158
+ <s:key name="invocations">3</s:key>
159
+ </s:dict>
160
+ </s:key>
161
+ <s:key name="dispatch.preview.command.table">
162
+ <s:dict>
163
+ <s:key name="duration_secs">0.013000</s:key>
164
+ <s:key name="invocations">3</s:key>
165
+ <s:key name="input_count">15</s:key>
166
+ <s:key name="output_count">30</s:key>
167
+ </s:dict>
168
+ </s:key>
169
+ <s:key name="dispatch.preview.metadata.execute_output">
170
+ <s:dict>
171
+ <s:key name="duration_secs">0.003000</s:key>
172
+ <s:key name="invocations">3</s:key>
173
+ </s:dict>
174
+ </s:key>
175
+ <s:key name="dispatch.preview.write_results_to_disk">
176
+ <s:dict>
177
+ <s:key name="duration_secs">0.015000</s:key>
178
+ <s:key name="invocations">3</s:key>
179
+ </s:dict>
180
+ </s:key>
181
+ <s:key name="dispatch.stream.local">
182
+ <s:dict>
183
+ <s:key name="duration_secs">4.996000</s:key>
184
+ <s:key name="invocations">9</s:key>
185
+ </s:dict>
186
+ </s:key>
187
+ <s:key name="dispatch.writeStatus">
188
+ <s:dict>
189
+ <s:key name="duration_secs">0.013000</s:key>
190
+ <s:key name="invocations">6</s:key>
191
+ </s:dict>
192
+ </s:key>
193
+ <s:key name="startup.handoff">
194
+ <s:dict>
195
+ <s:key name="duration_secs">0.138000</s:key>
196
+ <s:key name="invocations">1</s:key>
197
+ </s:dict>
198
+ </s:key>
199
+ </s:dict>
200
+ </s:key>
201
+ <s:key name="messages">
202
+ <s:dict/>
203
+ </s:key>
204
+ <s:key name="request">
205
+ <s:dict>
206
+ <s:key name="auto_cancel">90</s:key>
207
+ <s:key name="earliest_time">rt</s:key>
208
+ <s:key name="latest_time">rt</s:key>
209
+ <s:key name="max_count">100000</s:key>
210
+ <s:key name="search">| metadata type=sources | search totalCount&gt;0 | rename totalCount as Count recentTime as "Last Update" | table source Count "Last Update" | fieldformat Count=tostring(Count, "commas") | fieldformat "Last Update"=strftime('Last Update', "%c")</s:key>
211
+ <s:key name="status_buckets">0</s:key>
212
+ <s:key name="time_format">%s.%Q</s:key>
213
+ <s:key name="ui_dispatch_app">search</s:key>
214
+ <s:key name="ui_dispatch_view">dashboard_live</s:key>
215
+ </s:dict>
216
+ </s:key>
217
+ <s:key name="eai:acl">
218
+ <s:dict>
219
+ <s:key name="perms">
220
+ <s:dict>
221
+ <s:key name="read">
222
+ <s:list>
223
+ <s:item>admin</s:item>
224
+ </s:list>
225
+ </s:key>
226
+ <s:key name="write">
227
+ <s:list>
228
+ <s:item>admin</s:item>
229
+ </s:list>
230
+ </s:key>
231
+ </s:dict>
232
+ </s:key>
233
+ <s:key name="owner">admin</s:key>
234
+ <s:key name="modifiable">1</s:key>
235
+ <s:key name="sharing">global</s:key>
236
+ <s:key name="app">search</s:key>
237
+ <s:key name="can_write">1</s:key>
238
+ </s:dict>
239
+ </s:key>
240
+ <s:key name="searchProviders">
241
+ <s:list>
242
+ <s:item>fross-mbp15.local</s:item>
243
+ </s:list>
244
+ </s:key>
245
+ </s:dict>
246
+ </content>
247
+ </entry>
248
+