My search looks like this:
index=webproxy | regex user=".+a" | top 100 user
results are j9999la
I want to list the real result, but also remove anything after the first 5 character and display this also.
The result j9999 can be used in a lookup to give me a person's name.
So what I really want to see is
user user_name real_name
j9999la j9999 John Doe
If I get the everything after the 5th character removed - I can handle the rest
UPDATE
This does exactly what I want it to do, but I thought I would be able to figure out the second part - not really...
So, the results of user_name relate to a person. If the results of the user_name were part of the original data and it was called user - I would have additional fields returned with information on the user, such as full name, location, phone, etc.
We query an employee database twice a day to populate a csv containing all the employees.
How can I pass my results of user_name to the csv to populate the employee data?
BTW - not sure how we do this, but I do not pass anything to the csv now - it is just part of my data. This was setup by professional services.
... View more