Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General

XpoLog SDK provides a set of commands that enables remote configuration of different XpoLog properties without accessing the GUI.

The following commands are available.

...

Key

Description

Values

 

api

The API type to use – must be settings

“settings”

Mandatory

httpPort

The HTTP port XpoLog is listening on

Number

Optional

sslPort

The SSL port XpoLog is listening on

Number

Optional

shutdownPort

The server’s shutdown port

Number

Optional

ajpPort

The server’s ajp port

Number

Optional

agentMode

Enable/Disable agent mode

true/false

Optional

activateSecurity

Enable/Disble security

true/false

Optional

xpologPropertiesactivateSystemTimeZone

The Set the XpoLog's user Time Zone Mode

"userTimeZoneMode=system"
"userTimeZoneMode=dynamic"
"userTimeZoneMode=apptags" 
Optional

 

Example of configuring ports:

...

to System (Default)

true/falseOptional
activateDynamicTimeZone

Set the XpoLog's user Time Zone Mode to Dynamic

true/falseOptional
activateAppTagsTimeZone

Set the XpoLog's user Time Zone Mode to per AppTags

true/falseOptional

 

Example of configuring ports:

%JAVA_RUN% %XPOLOG_CONN% -api settings -httpPort 30304 -sslPort 30444 -ajpPort 8010 -shutdownPort 8096 -agentMode true -activateSecurity true

Example of changing system time zone mode:

%JAVA_RUN% %XPOLOG_CONN% -api  settings -xpologProperties "userTimeZoneMode=apptags" settings -activateAppTagsTimeZone true

 

Anchor
Security
Security

 Security Users Parameters

...

Key

Description

Values

 

api

The API type to use – must be apptags settings

“apptags”“settings”

Mandatory

timeZoneA single time zone from JAVA available time zonesappTags

A comma separated list of AppTags names (exactly as defined in XpoLog)
(The time zone

should be exactly as

will be applied only if the general User Time Zone Mode in XpoLog is set to 'AppTags') 

TextMandatory
timeZoneA single time zone from JAVA available time zones
(The time zone should be exactly as appears in the time zones list, in case XpoLog will not be able to find that given value, default system time zone will be applied automatically.
Use "Default" to apply the time zone to the system default time zone)
TextMandatory
appTags

A comma separated list of AppTags names (exactly as defined in XpoLog)
(The time zone will be applied only if the general User Time Zone Mode in XpoLog is set to 'AppTags') 

TextMandatory


Example of applying a time zone on an AppTag:

%JAVA_RUN% %XPOLOG_CONN% -api apptags settings -timeZone "America/New_York" -appTags "APPTAG1, APPTAG2"

...