- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My requirements are to save a csv formatted data into splunk from a custom app. I'm using django bindings.
Was not able to figure out which API should I use for inserting data with custom source and sourceType field values from within the python script.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue resolved by using Splunk receiver API
http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTinputExamples#receivers.2Fsimple_POST
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue resolved by using Splunk receiver API
http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTinputExamples#receivers.2Fsimple_POST
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


If your data is formatted as CSV then you probably don't need a custom sourcetype. Use 'CSV'.
If this reply helps you, Karma would be appreciated.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's the default behaviour. I was thinking of if I could change it. Also if I mention "source" and "sourcetype" column in my cvs data then these are renamed as "extracted_source" and "extracted_sourcetype".
