Project

General

Profile

Task #936

Create modular input

Added by Luke Murphey almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/20/2015
Due date:
% Done:

100%


Description

The inputs needs to accept:

  • Credentials
    • Either login and password or oauth2 token
  • Doc
  • Worksheet
    • Either the number or the name
    • Might want it to create the worksheet if it does not exist
  • Operation

Subtasks

Feature #941: List lookups in modular input pageClosedLuke Murphey

Task #940: Hide password from modular input list pageClosedLuke Murphey

Task #939: Hide unnecessary options from modular input pageClosedLuke Murphey

History

#1 Updated by Luke Murphey almost 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Luke Murphey
  • Target version set to 0.5

#2 Updated by Luke Murphey almost 10 years ago

This is mostly working except for the session key.

#3 Updated by Luke Murphey almost 10 years ago

ERROR ExecProcessor - message from "python /Library/Splunk/splunk_sp/etc/apps/google_drive/bin/google_spreadsheet_import.py" Unexpected exception: [HTTP 401] Client is not authenticated
127.0.0.1 - - [21/Jan/2015:00:41:39.820 -0600] "POST /services/data/lookup-table-files/test.csv HTTP/1.0" 401 148 - - - 0ms

#4 Updated by Luke Murphey almost 10 years ago

This session key thing is weird. Here are some observations:
  • Using a session key made by calling splunk.auth.getSessionKey() works
  • Other calls work, but not this put
  • The key is the same the one provided in the XML
  • The lookup editor works with the same code
  • The unit tests work

#5 Updated by Luke Murphey almost 10 years ago

The modular input is getting a session key for 'splunk-system-user' while the one gained by authenticating in Python is for 'admin'.

#6 Updated by Luke Murphey almost 10 years ago

Tried a fresh lookup file, still didn't work.

#7 Updated by Luke Murphey almost 10 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF