[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #PNW-392229]: rtstats

Khang Tran,

The feedtype and product-identifier of a data-product can't be changed: they 
are set by the program that created the data-product.

Unfortunately, the identifiers of the products that you want to treat 
differently are too similar to each other to distinguish with simple extended 
regular expressions.

If the string "localhost" only appears at the end of the product-identifier of 
the data-products that you want to file in a different directory, then your 
pqact(1) configuration-file entry can be replaced by the following 2 entries:

EXP ^rtstats[^/]*/([^/]*)/([^/]*)/(.*localhost)$ FILE 
EXP ^rtstats[^/]*/([^/]*)/([^/]*)/(.*[^l][^o][^c][^a][^l][^h][^o][^s][^t])$ 
FILE logs/rtstats/\2/%Y%m%d/\1/\3

I've added an issue on the LDM's GitHub site about adding an option to the FILE 
command that would short-circuit further matching against pqact(1) 
configuration-file entries. This would be a better solution.

> Full Name: khang tran
> Email Address: address@hidden
> Organization: noaa.gov
> Package Version: ldm-6.10.1
> Operating System: linux
> Hardware:
> Description of problem: ldmd.conf has
> request EXP ".*" <host-id>
> pqact.conf has
> EXP ^rtstats[^/]*/([^/]*)/([^/]*)/(.*)
> FILE logs/rtstats/\2/%Y%m%d/\1/\3
> ldmadmin watch shows
> 1 - EXP 000 201502101540~~CONVOL:URP:WHK:RADAR:IRIS
> 2 - EXP 847 rtstats-6.10.1/
> 3 - EXP 848 
> rtstats-6.10.1/
> 4 - EXP 845 
> rtstats-6.10.1/
> how do i change the label of feed #2 from EXP to something else so it will be 
> stored in a different directory
> thanks

Steve Emmerson

Ticket Details
Ticket ID: PNW-392229
Department: Support LDM
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.