File tree 7 files changed +114
-0
lines changed
7 files changed +114
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var SplunkLogger = require ( "./splunklogger" ) ;
2
18
var utils = require ( "./utils" ) ;
3
19
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var request = require ( "request" ) ;
2
18
var url = require ( "url" ) ;
3
19
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var SplunkLogger = require ( "../index" ) . Logger ;
2
18
var assert = require ( "assert" ) ;
3
19
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var assert = require ( "assert" ) ;
2
18
3
19
/**
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var SplunkLogger = require ( "../index" ) . Logger ;
2
18
var assert = require ( "assert" ) ;
3
19
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2015 Splunk, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
5
+ * not use this file except in compliance with the License. You may obtain
6
+ * a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
+ * License for the specific language governing permissions and limitations
14
+ * under the License.
15
+ */
16
+
1
17
var assert = require ( "assert" ) ;
2
18
var utils = require ( "../index" ) . utils ;
3
19
Original file line number Diff line number Diff line change 3
3
* @exports utils
4
4
*/
5
5
var utils = { } ;
6
+ /*
7
+ * Copyright 2015 Splunk, Inc.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License"): you may
10
+ * not use this file except in compliance with the License. You may obtain
11
+ * a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
+ * License for the specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+
23
+ /* Utility Functions */
6
24
7
25
/**
8
26
* Formats the time for Splunk as a the epoch time in seconds.
You can’t perform that action at this time.
0 commit comments