Community
Splunk Answers
Splunk Administration
Deployment Architecture
Getting Data In
Installation
Security
Knowledge Management
Monitoring Splunk
Using Splunk
Splunk Search
Dashboards & Visualizations
Splunk Dev
Alerting
Reporting
Other Usage
Splunk Platform Products
Splunk Enterprise
Splunk Cloud Platform
Splunk Data Stream Processor
Splunk Data Fabric Search
Splunk Premium Solutions
News & Education
Blog & Announcements
Community Blog
Product News & Announcements
Practitioner Resources
Adoption Boards
Community Office Hours
Splunk Tech Talks
Great Resilience Quest
Training & Certification
Training + Certification Discussions
Training & Certification Blog
Community Lounge
Getting Started
Welcome
Feedback
SplunkTrust
User Groups
Splunk Love
Apps and Add-ons
All Apps and Add-ons
User Groups
Resources
SplunkBase
Developers
Documentation
Splunk Ideas
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
All community
Knowledge base
stephenwmccoy
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Ask a Question
About stephenwmccoy
stephenwmccoy
Engager
Member since:
09-12-2019
06-05-2020
Community Statistics
Posts
1
Solutions
0
Karma Given
0
Karma Received
1
Member Since
09-12-2019
View all badges
Activity Feed
Got Karma for
Re: REST API - JSON Invalid format
.
01-14-2023
07:07 AM
Posted
Re: REST API - JSON Invalid format
on
Getting Data In
.
09-12-2019
10:24 AM
Topics I've Started
No posts to display.
View All
Latest Contributions by stephenwmccoy
Topics stephenwmccoy has Participated In
Latest Contributions by stephenwmccoy
Re: REST API - JSON Invalid format
by
stephenwmccoy
in
Getting Data In
09-12-2019
10:24 AM
1 Karma
09-12-2019
10:24 AM
1 Karma
I found this to work a little more consistently - def fixSplunkJSON( strSplunk ) : strJSON = strSplunk.replace( '}}', '}},' ) strJSON = strJSON.replace( '}}\n', '}}' ) strJSON = strJSON.rstrip( '\n' ) strJSON = strJSON.rstrip( ',' ) strJSON = '[' + strJSON + ']' return strJSON
... View more
Contact Me
Online Status
Offline
Date Last Visited
06-05-2020
02:04 AM
Karma from
User
Karma Count
jwalzerpitt
1
View All