Hi, as in the title, the old panel id persists and the styling isn't applied. Refreshing the browser, clearing cache, restarting splunk idoesn't help. What am I missing? I'm on 9.4.9
In some very strange turn of events, the id is today updating as normal.
Here's the xml snippet:
<!-- TOKEN ENTERED -->
<row>
<panel id="header_results">
<html>
<h2>Results for: $token_entered$</h2>
</html>
</panel>
</row>
Here's the Inspector:
On Friday after I changed the id="header_main" the inspector kept showing id="header_results", but it works today.. beats me.
Thank you for all your input.
Good that it is all working for you again. It sounds like you were doing the right thing all along and that there was something about your environment at the time which was causing this (intermittent) issue. If it happens again, please provide more detail about your environment (obfuscated, of course), in case there is something that someone could suggest needs tweaking.
As others have said, give us an example of what your XML is looking like and how/where you are setting the id, what your CSS looks like and precisely what your goal is.
CSS styling needs to be set precisely so the problem is most likely how you have defined your CSS.
Hi @beataficek,
After logging into your search head or search head cluster, browse to https://splunk/en_US/_bump, where "splunk" is your hostname and "en_US" is your locale, and then click the Bump version button.
If this doesn't work and you're using a search head cluster with round-robin DNS or a load balancer, replication may be broken, and you may be seeing an older version of your dashboard intermittently.
I'll give this a shot if the issue comes up again
@beataficek Did you try using Dashboard studio which will make things easier for you?
Yes @ITWhisperer thats right DS doesnt support custom CSS so its unlikely to be able to resolve the problem here I think @kknairr unless there happens to be a the style changes being applied happen to exist in the DS options already, although these are largely the same as in Simple XML now.
@beataficek Please could you confirm what the changes are you are trying to make so we can try and help resolve? Is it a specific type of viz or overall view styling?
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
@kknairr How can you tell that using Dashboard Studio will make this easier of OP when it is not clear what they are actually trying to do? Particularly when they are not on the latest version of Splunk, and as far as I remember, Dashboard Studio does not (easily?) support CSS as a way to modify the appearance of dashboards!
Some ids are auto-generated so you would have difficulty assigning a style to them as you probably cannot predict what id will be assigned.
Some elements can have ids assigned to them but not the dashboard label.
If you are trying to change the style of the label, use its class not its id.
Hi @beataficek
Please could you provide an example of what you are trying to achieve (e.g. sample XML snippet)
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing