• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Sreerag M. · May 07, 2013 at 09:46 AM ·

Store session using REST with custom name?

Hi,

I was trying to store the purepath session using REST webservice with a custom session name. looks like there is no parameter to specify the custom session name. where as from the client a session can be saved with any name. Is there a way i can specify a name for the session using the REST?

After saving i am trying to export the session to store it outside the DT server. The append time stamp option creates session names with spaces and the REST export is not working for me with these session names with spaces.

Thanks,

Sreerag

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Roman S. · May 07, 2013 at 10:08 AM

Hi,

You are right, that parameter is not part of the store session REST interface. You might want to add a RFE to have this addressed in a future release.

For the export call - did you correctly escape the spaces and square brackets in the session name? I just tried this for a session called

 easyTravel - PLEASE TAKE A LOOK [2013-03-26 20:31:51]

and with the escaping the following URI works:

 http://localhost:8020/rest/management/sessions/easyTravel%20-%20PLEASE%20TAKE%20A%20LOOK%20%5B2013-03-26%2020:31:51%5D/export

Space - %20
[ - %5B
] - %5D

Best, Roman

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Sreerag M. · May 07, 2013 at 11:07 AM 0
Share

Thanks Roman!  the export worked. I was not escaping the square brackets earlier. Also it would have been better if your example were there in the in the documentation itself.

I have added the below RFE for custom session name using the REST API.

'storepurepath' REST call to have option for custom session name.

Thanks,

Sreerag

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A